<undefined>
0
-1
0
0
<undefined>
<undefined>
1
603
7
0
0
-1
2
self
0
0
1
global.curropt = 0;
lastitem = 3;
active = 0;
alarm[0] = 5;
event_user(0);
with (oSS_Fg) op_text1 = get_text("Subscreen", "Title_Options");
tip[0] = get_text("PauseMenu", "Resume_Tip");
tip[1] = get_text("PauseMenu", "Restart_Tip");
tip[2] = get_text("PauseMenu", "Options_Tip");
tip[3] = get_text("PauseMenu", "Quit_Tip");
global.tiptext = tip[global.curropt];
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);
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) {
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();
}
}
} // if (active)
1
603
7
0
0
-1
2
self
0
0
1
if (instance_exists(op1)) with (op1) instance_destroy();
if (instance_exists(op2)) with (op2) instance_destroy();
if (instance_exists(op3)) with (op3) instance_destroy();
if (instance_exists(op4)) with (op4) instance_destroy();
1
603
7
0
0
-1
2
self
0
0
1
op1 = instance_create(x, y, oPauseOption);
op1.optionid = 0;
op1.label = get_text("PauseMenu", "Resume");
op2 = instance_create(x, y + 16, oPauseOption);
op2.optionid = 1;
op2.label = get_text("PauseMenu", "Restart");
op3 = instance_create(x, y + 32, oPauseOption);
op3.optionid = 2;
op3.label = get_text("PauseMenu", "Options");
op4 = instance_create(x, y + 48, oPauseOption);
op4.optionid = 3;
op4.label = get_text("PauseMenu", "Quit");
0
0
0
0.5
0.100000001490116
0
0.100000001490116
0.100000001490116
0.200000002980232
-1
0