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.
69 lines
1.8 KiB
69 lines
1.8 KiB
if instance_exists(oSlotMenu_Fusion)
|
|
op[3].hide = 1
|
|
else
|
|
op[3].hide = 0
|
|
if active
|
|
{
|
|
if (oControl.kDown && oControl.kDownPushedSteps == 0)
|
|
{
|
|
global.curropt += 1
|
|
if (global.curropt > lastitem)
|
|
global.curropt = 0
|
|
global.saveslot = global.curropt
|
|
sfx_play(sndMenuMove)
|
|
}
|
|
if (oControl.kUp && oControl.kUpPushedSteps == 0)
|
|
{
|
|
global.curropt -= 1
|
|
if (global.curropt < 0)
|
|
global.curropt = lastitem
|
|
global.saveslot = global.curropt
|
|
sfx_play(sndMenuMove)
|
|
}
|
|
if (oControl.kMenu1 && oControl.kMenu1PushedSteps == 0)
|
|
{
|
|
sfx_play(sndMenuSel)
|
|
if (global.curropt >= 0 && global.curropt < 3)
|
|
{
|
|
if (op[global.curropt].saveexists == 0)
|
|
{
|
|
if (global.mod_gamebeaten == 1)
|
|
instance_create(0, 0, oSlotMenu_gametypes)
|
|
else
|
|
instance_create(0, 0, oSlotMenu_normal_only)
|
|
active = 0
|
|
}
|
|
else
|
|
{
|
|
instance_create(0, 0, oSlotMenu1)
|
|
active = 0
|
|
}
|
|
}
|
|
if (global.curropt == 4)
|
|
{
|
|
room_persistent = true
|
|
room_change(6, 0)
|
|
}
|
|
if (global.curropt == 5 && op[5].enabled)
|
|
{
|
|
room_persistent = true
|
|
room_change(5, 0)
|
|
}
|
|
if (global.curropt == 6)
|
|
{
|
|
room_persistent = true
|
|
global.creditsmenuopt = 1
|
|
room_change(4, 0)
|
|
}
|
|
if (global.curropt == 3 && op[3].enabled)
|
|
{
|
|
room_persistent = true
|
|
room_change(394, 0)
|
|
}
|
|
if (global.curropt == 7)
|
|
game_end()
|
|
}
|
|
}
|
|
if (image_alpha < 1 && fadein)
|
|
image_alpha += 0.05
|