sSaveSlotB
0
-1
-1
0
<undefined>
<undefined>
1
603
7
0
0
-1
2
self
0
0
1
oControl.mod_fusion = 0;
global.curropt = 1;
lastitem = 2;
active = 0;
alarm[0] = 5;
h = 0;
targeth = 33;
fadein = 1;
fadeout = 0;
d0str = get_text("Title", "GameSlot_Easy");
d1str = get_text("Title", "GameSlot_Normal");
d2str = get_text("Title", "GameSlot_Hard");
if (global.saveslot == 0) {
x = 270;
y = 60;
}
if (global.saveslot == 1) {
x = 270;
y = 104;
}
if (global.saveslot == 2) {
x = 270;
y = 148;
}
draw_set_font(fontGUI2);
w = max(string_width(d0str), string_width(d1str), string_width(d2str)) + 10;
if (oControl.mod_insanitymode) {
mycolor = make_color_rgb(187, 3, 3);
} else {
mycolor = make_color_rgb(3, 187, 25);
}
1
603
7
0
0
-1
2
self
0
0
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) {
sfx_play(sndMenuSel);
global.difficulty = global.curropt;
switch (global.curropt)
{
case 0:
case 1:
//Easy & Normal
oControl.mod_fusion = 0;
oControl.mod_diffmult = 1;
break;
case 2:
//Hard
oControl.mod_fusion = 0;
oControl.mod_diffmult = 2;
break;
default:
oControl.mod_fusion = 0;
oControl.mod_diffmult = 1;
break;
}
global.newgame = 1;
if (instance_exists(op[0])) with (op[0]) instance_destroy();
if (instance_exists(op[1])) with (op[1]) instance_destroy();
if (instance_exists(op[2])) with (op[2]) instance_destroy();
mus_fadeout(musTitle);
room_change(14, 0);
}
if (oControl.kMenu2 && oControl.kMenu2PushedSteps == 0) {
global.curropt = 10;
sfx_play(sndMenuCancel);
event_user(1);
}
}
if (fadein) {
if (h < targeth - 4) {
h += 4;
} else {
h = targeth;
fadein = 0;
active = 1;
event_user(0);
}
}
if (fadeout) {
if (h > 4) {
h -= 4;
} else {
if (global.curropt == 10) {
with (oGameSelMenu) alarm[0] = 5;
global.curropt = global.saveslot;
}
instance_destroy();
}
}
1
603
7
0
0
-1
2
self
0
0
1
if (instance_exists(op[0])) with (op[0]) instance_destroy();
if (instance_exists(op[1])) with (op[1]) instance_destroy();
if (instance_exists(op[2])) with (op[2]) instance_destroy();
fadeout = 1;
active = 0;
1
603
7
0
0
-1
2
self
0
0
1
vsep = 10;
op[0] = instance_create(x - 4, y + 3, oNormalOptionR);
op[0].optionid = 0;
op[0].label = d0str;
op[1] = instance_create(x - 4, y + 3 + vsep, oNormalOptionR);
op[1].optionid = 1;
op[1].label = d1str;
op[2] = instance_create(x - 4, y + 3 + vsep * 2, oNormalOptionR);
op[2].optionid = 2;
op[2].label = d2str;
1
603
7
0
0
-1
2
self
0
0
1
draw_set_color(c_black);
draw_set_alpha(0.8);
draw_rectangle(x, y, x - w, y + h, false);
draw_set_alpha(1);
draw_line(x, y, x, y + h);
//draw_background_ext(bgSaveSlotLine2, x - w - 4, y, 1, h + 12, 0, make_color_rgb(3, 187, 25), 1);
//draw_background_ext(bgSaveSlotLine1, x - w, y + h + 10, w + 1, 1, 0, make_color_rgb(3, 187, 25), 1);
draw_background_ext(bgSaveSlotLine2, x - w - 4, y, 1, h + 2, 0, mycolor, 1);
draw_background_ext(bgSaveSlotLine1, x - w, y + h, w + 1, 1, 0, mycolor, 1);
0
0
0
0.5
0.100000001490116
0
0.100000001490116
0.100000001490116
0.200000002980232
-1
-1