52 lines
924 B
Plaintext
Executable File
52 lines
924 B
Plaintext
Executable File
if keyboard_check_pressed(vk_escape)
|
|
{
|
|
room_goto(rm_title)
|
|
}
|
|
if keyboard_check(vk_up) and timer >= 6
|
|
{
|
|
timer = 0
|
|
menuselect -= 1
|
|
if menuselect < 0
|
|
{
|
|
menuselect = menuitems - 1
|
|
}
|
|
}
|
|
if keyboard_check(vk_down) and timer >= 6
|
|
{
|
|
timer = 0
|
|
menuselect += 1
|
|
if menuselect > menuitems - 1
|
|
{
|
|
menuselect = 0
|
|
}
|
|
}
|
|
if keyboard_check_pressed(ord("Z")) and tagged = 0
|
|
{
|
|
tagged = 1
|
|
switch menuselect
|
|
{
|
|
case 0:
|
|
if full = 0
|
|
{
|
|
full = 1
|
|
}
|
|
else
|
|
{
|
|
full = 0
|
|
}
|
|
window_set_fullscreen(full)
|
|
tagged = 0
|
|
break;
|
|
case 1:
|
|
ini_open("tinygirl.ini")
|
|
ini_write_real("Settings","Full",full)
|
|
ini_close()
|
|
room_goto(rm_title)
|
|
break;
|
|
default:
|
|
break;
|
|
}
|
|
}
|
|
timer += 1
|
|
|