<undefined> 0 -1 0 0 <undefined> <undefined> 1 603 7 0 0 -1 2 self 0 0 1 global.curropt = 1; lastitem = 1; active = 0; alarm[0] = 5; event_user(0); global.tiptext = get_text("QuitMenu", "Warning"); 1 603 7 0 0 -1 2 self 0 0 1 event_user(1); 1 603 7 0 0 -1 2 self 0 0 1 active = 1; 1 603 7 0 0 -1 2 self 0 0 1 if (active) { if (oControl.kDown && oControl.kDownPushedSteps == 0) { global.curropt += 1; if (global.curropt > lastitem) global.curropt = 0; sfx_play(sndMenuMove); } if (oControl.kUp && oControl.kUpPushedSteps == 0) { global.curropt -= 1; if (global.curropt < 0) global.curropt = lastitem; sfx_play(sndMenuMove); } if (oControl.kMenu1 && oControl.kMenu1PushedSteps == 0) { if (global.curropt == 0) { with (oControl) { quitgame = 1; reloadgame = 1; } sfx_stop_all(); mus_stop_all(); mus_current_update_volume(); with (oSS_Fg) event_user(0); active = 0; } if (global.curropt == 1) { instance_create(50, 92, oPauseMenuOptions); instance_destroy(); } sfx_play(sndMenuSel); } } // if (active) 1 603 7 0 0 -1 2 self 0 0 1 if (instance_exists(op[50])) with (op[50]) instance_destroy(); if (instance_exists(op[0])) with (op[0]) instance_destroy(); if (instance_exists(op[1])) with (op[1]) instance_destroy(); 1 603 7 0 0 -1 2 self 0 0 1 op[50] = instance_create(x, y, oMenuLabel); op[50].text = get_text("QuitMenu", "Reload"); op[0] = instance_create(x, y + 16, oPauseOption); op[0].optionid = 0; op[0].label = get_text("GlobalOptions", "Yes"); op[1] = instance_create(x, y + 32, oPauseOption); op[1].optionid = 1; op[1].label = get_text("GlobalOptions", "No"); 0 0 0 0.5 0.100000001490116 0 0.100000001490116 0.100000001490116 0.200000002980232 -1 0