<undefined>
0
-1
0
0
<undefined>
<undefined>
1
603
7
0
0
-1
2
self
0
0
1
if (global.gotolog > -1 && global.ophudshowlogmsg == 1) global.ssmode = 2;
s_map = surface_create(2048, 1024);
surface_set_target(s_map);
draw_surface_map();
surface_reset_target();
instance_create(0, 0, oSS_Bg);
instance_create(0, 0, oSS_Fg);
event_user(1);
active = 0;
alarm[0] = 1;
canchange = 1;
modeindex = 0;
if (global.gamemode == 3) modeindex = get_text("Title-Additions", "GameSlot_NewGame_ClassicMode");
if (global.gamemode == 4) modeindex = get_text("Title-Additions", "GameSlot_NewGame_AM2Random");
if (global.gamemode == 5) modeindex = get_text("Title-Additions", "GameSlot_NewGame_SplitRandom");
widescreen = oControl.widescreen;
widescreen_space = oControl.widescreen_space;
1
603
7
0
0
-1
2
self
0
0
1
surface_free(s_map);
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 && oControl.kMenu2 && oControl.kMenu2PushedSteps == 0 && instance_number(oSubScrChange) == 0 && canchange) {
if (global.ssmode == 3) {
save_gameoptions();
with (oPauseMenuOptions) active = 0;
with (oOptionsMain) active = 0;
with (oOptionsDisplay) if (active != 0) {
active = 0;
load_resources();
}
with (oOptionsSound) active = 0;
with (oOptionsControl) active = 0;
with (oOptionsKeyboard) active = 0;
with (oOptionsJoypad) active = 0;
with (oOptionsQuit) active = 0;
with (oOptionsReload) active = 0;
with (oOptionsExtras) active = 0; // 1.5.1 fix NOT QUITE
}
if (global.ssmode == 2) with (oLogScreenControl) active = 0;
if (global.ssmode == 1) with (oSubscreenMenu) active = 0;
if (global.ssmode == 0) with (oMapCursor) active = 0;
instance_create(x, y, oSubScrChange);
}
if(os_type == os_android && os_is_paused()) alarm[1] = 1;
if (!surface_exists(s_map)) {
surface_free(s_map);
s_map = surface_create(2048, 1024);
surface_set_target(s_map);
draw_surface_map();
surface_reset_target();
}
1
603
7
0
0
-1
2
self
0
0
1
if (global.ssmode == 0) {
instance_create(0, 0, oDrawMap2);
instance_create(0, 0, oMapCursor);
}
if (global.ssmode == 1) {
instance_create(0, 0, oSubscreenMenu);
instance_create(56 - floor(oControl.widescreen_space/3), 56, oSubScreenSuit);
instance_create(56 - floor(oControl.widescreen_space/3), 184, oSubScreenBeam);
instance_create(264 + floor(oControl.widescreen_space/3), 56, oSubScreenMisc);
instance_create(264 + floor(oControl.widescreen_space/3), 184, oSubScreenBoots);
instance_create(160, 52, oSubScrPlayer);
}
if (global.ssmode == 2) instance_create(0, 0, oLogScreenControl);
if (global.ssmode == 3) instance_create(50, 92, oPauseMenuOptions);
1
603
7
0
0
-1
2
self
0
0
1
with (oDrawMap2) instance_destroy();
with (oMapCursor) instance_destroy();
with (oSubscreenMenu) instance_destroy();
with (oSubScreenSuit) instance_destroy();
with (oSubScreenBeam) instance_destroy();
with (oSubScreenMisc) instance_destroy();
with (oSubScreenBoots) instance_destroy();
with (oSubScrPlayer) instance_destroy();
with (oLogScreenControl) instance_destroy();
with (oPauseMenuOptions) instance_destroy();
with (oOptionsMain) instance_destroy();
with (oOptionsDisplay) instance_destroy();
with (oOptionsSound) instance_destroy();
with (oOptionsControl) instance_destroy();
with (oOptionsKeyboard) instance_destroy();
with (oOptionsJoypad) instance_destroy();
with (oOptionsQuit) instance_destroy();
with (oOptionsReload) instance_destroy();
with (oOptionsExtras) instance_destroy();
1
603
7
0
0
-1
2
self
0
0
1
surface_free(s_map);
with (oControl) event_user(2);
1
603
7
0
0
-1
2
self
0
0
1
/*if(instance_exists(oOptionsExtras)) {
if(global.gamemode == 3 || global.gamemode == 4 || global.gamemode == 5) {
draw_cool_text(50, 60, get_text("Misc", "ExtrasMode") + ": " + modeindex, c_black, c_gray, c_dkgray, 1)
draw_cool_text(50, 73, get_text("Misc", "ExtrasSeed") + ": " + string(oControl.seed), c_black, c_gray, c_dkgray, 1);
}
}
0
0
0
0.5
0.100000001490116
0
0.100000001490116
0.100000001490116
0.200000002980232
-1
0