You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.5 KiB
48 lines
1.5 KiB
if active
|
|
{
|
|
if (oControl.kDown && oControl.kDownPushedSteps == 0)
|
|
{
|
|
global.curropt += 1
|
|
if (global.curropt > lastitem)
|
|
global.curropt = 0
|
|
sfx_play(sndMenuMove)
|
|
global.tiptext = tip[global.curropt]
|
|
}
|
|
if (oControl.kUp && oControl.kUpPushedSteps == 0)
|
|
{
|
|
global.curropt -= 1
|
|
if (global.curropt < 0)
|
|
global.curropt = lastitem
|
|
sfx_play(sndMenuMove)
|
|
global.tiptext = tip[global.curropt]
|
|
}
|
|
if (oControl.kMenu1 && oControl.kMenu1PushedSteps == 0)
|
|
{
|
|
sfx_play(sndMenuSel)
|
|
if (global.curropt == 0)
|
|
{
|
|
with (oSS_Fg)
|
|
event_user(0)
|
|
active = 0
|
|
}
|
|
if (global.curropt == 1)
|
|
{
|
|
if ((!global.saxmode) && (!global.lobbyLocked) && global.currentroom != 55 && global.currentroom != 91 && global.currentroom != 128 && global.currentroom != 206 && global.currentroom != 282 && global.currentroom != 281 && global.currentroom != 276 && global.currentroom != 277 && global.currentroom != 205 && global.currentroom != 208 && global.currentroom != 207 && global.currentroom != 387)
|
|
{
|
|
instance_create(50, 92, oOptionsReload)
|
|
instance_destroy()
|
|
}
|
|
}
|
|
if (global.curropt == 2)
|
|
{
|
|
instance_create(50, 92, oOptionsMain)
|
|
instance_destroy()
|
|
}
|
|
if (global.curropt == 3)
|
|
{
|
|
instance_create(50, 92, oOptionsQuit)
|
|
instance_destroy()
|
|
}
|
|
}
|
|
}
|