sSMslSpark
0
-1
0
0
<undefined>
<undefined>
1
603
7
0
0
-1
2
self
0
0
1
hilight = 1;
active = 0;
saveexists = 0;
saveroom = 0;
targety = y;
y = 0;
alarm[0] = 1;
modeindex = 0;
if (oControl.mod_insanitymode) {
mycolor = make_color_rgb(187, 3, 3);
myslotbg = bgSaveSlotInsanity;
myslot = sSaveSlotInsanity;
myslotb = sSaveSlotBInsanity;
myslotc = sSaveSlotCopyInsanity;
} else {
mycolor = make_color_rgb(3, 187, 25);
myslotbg = bgSaveSlot;
myslot = sSaveSlot;
myslotb = sSaveSlotB;
myslotc = sSaveSlotCopy;
}
if (oControl.mod_monstersextremecheck == 1) {
meticon = bgGUIMetCountBG2ELM;
} else {
meticon = bgGUIMetCountBG2;
}
//mycolordark = make_color_rgb(74, 0, 0);
1
603
7
0
0
-1
2
self
0
0
1
if (y < targety) {
y += 4;
alarm[0] = 1;
}
1
603
7
0
0
-1
2
self
0
0
1
if (oControl.mod_insanitymode) {
mycolor = make_color_rgb(187, 3, 3);
myslotbg = bgSaveSlotInsanity;
myslot = sSaveSlotInsanity;
myslotb = sSaveSlotBInsanity;
myslotc = sSaveSlotCopyInsanity;
} else {
mycolor = make_color_rgb(3, 187, 25);
myslotbg = bgSaveSlot;
myslot = sSaveSlot;
myslotb = sSaveSlotB;
myslotc = sSaveSlotCopy;
}
if (oControl.mod_monstersextremecheck == 1) {
meticon = bgGUIMetCountBG2ELM;
} else {
meticon = bgGUIMetCountBG2;
}
1
603
7
0
0
-1
2
self
0
0
1
newgamestr = get_text("Title", "GameSlot_NewGame");
title = get_save_title(saveroom);
if (saveexists == 1) {
if (sdifficulty == 0) difftext = get_text("Title", "GameSlot_Easy");
if (sdifficulty == 1) difftext = get_text("Title", "GameSlot_Normal");
if (sdifficulty == 2) difftext = get_text("Title", "GameSlot_Hard");
if (sdifficulty == 3) difftext = get_text("Title-Additions", "GameSlot_NewGame_Fusion");
if (smode == 3) modeindex = get_text("Title-Additions", "GameSlot_NewGame_ClassicMode");
if (smode == 4) modeindex = get_text("Title-Additions", "GameSlot_NewGame_AM2Random");
if (smode == 5) modeindex = get_text("Title-Additions", "GameSlot_NewGame_SplitRandom");
}
1
603
7
0
0
-1
2
self
0
0
1
event_user(0);
1
603
7
0
0
-1
2
self
0
0
1
if (global.saveslot == slot) {
hilight = 1;
} else hilight = 0;
etankxoff = 4;
tioffset = 93;
proffset = 186;
titleoffset = 4;
if (hilight) {
fontcolor = c_white;
} else fontcolor = c_dkgray;
draw_background(myslotbg, x, y - 7);
if (saveexists) draw_background_ext(meticon, x + 190, y - 6, 1, 1, 0, fontcolor, 1);
if (hilight) {
draw_sprite(myslot, slot, x - 19, y - 7);
draw_background_ext(bgSaveSlotLine1, x, y + 18, 207, 1, 0, mycolor, 1);
} else {
draw_sprite(myslotb, slot, x - 19, y - 7);
}
if (saveexists) {
if (setanks >= 1) draw_sprite_ext(sGUIETank, 1, x + etankxoff, y + 4, 1, 1, 0, fontcolor, 1);
if (setanks >= 2) draw_sprite_ext(sGUIETank, 1, x + etankxoff, y + 10, 1, 1, 0, fontcolor, 1);
if (setanks >= 3) draw_sprite_ext(sGUIETank, 1, x + etankxoff + 6, y + 4, 1, 1, 0, fontcolor, 1);
if (setanks >= 4) draw_sprite_ext(sGUIETank, 1, x + etankxoff + 6, y + 10, 1, 1, 0, fontcolor, 1);
if (setanks >= 5) draw_sprite_ext(sGUIETank, 1, x + etankxoff + 12, y + 4, 1, 1, 0, fontcolor, 1);
if (setanks >= 6) draw_sprite_ext(sGUIETank, 1, x + etankxoff + 12, y + 10, 1, 1, 0, fontcolor, 1);
if (setanks >= 7) draw_sprite_ext(sGUIETank, 1, x + etankxoff + 18, y + 4, 1, 1, 0, fontcolor, 1);
if (setanks >= 8) draw_sprite_ext(sGUIETank, 1, x + etankxoff + 18, y + 10, 1, 1, 0, fontcolor, 1);
if (setanks >= 9) draw_sprite_ext(sGUIETank, 1, x + etankxoff + 24, y + 4, 1, 1, 0, fontcolor, 1);
// if (setanks == 10) draw_sprite_ext(sGUIETank, 1, x + etankxoff + 24, y + 10, 1, 1, 0, fontcolor, 1);
if (setanks >= 10) draw_sprite_ext(sGUIETank, 1, x + etankxoff + 24, y + 10, 1, 1, 0, fontcolor, 1);
draw_set_font(fontGUI);
draw_set_halign(fa_center);
draw_cool_text(x + tioffset, y + 3 + oControl.GUIOffset, timestring, c_black, fontcolor, fontcolor, 1);
draw_set_font(fontGUI2);
draw_set_halign(fa_right);
draw_cool_text(x + proffset, y + 2, string(sprogress) + "%", c_black, fontcolor, fontcolor, 1);
draw_set_halign(fa_left);
draw_set_color(fontcolor);
draw_set_alpha(1);
draw_set_font(fontGUI2);
draw_text(x + 192, y + 6, to_string_lz(smonsters));
draw_set_alpha(1);
draw_set_font(fontMenuSmall);
draw_set_color(fontcolor);
draw_text(x + titleoffset, y - 9, title);
draw_set_halign(fa_right);
draw_text(x + 186, y - 9, difftext);
draw_set_halign(fa_left);
} else {
draw_set_alpha(1);
draw_set_font(fontGUI2);
draw_set_halign(fa_center);
draw_set_color(c_black);
draw_text(x + tioffset + 1, y + 4, newgamestr);
draw_set_color(fontcolor);
draw_text(x + tioffset, y + 3, newgamestr);
draw_set_halign(fa_left);
} // if (saveexists) else
if(global.saveslot != slot && saveexists) {
if(smode == 3 || smode == 4 || smode == 5) {
draw_cool_text(x+4, y+20, string(modeindex) + sseed, c_black, c_gray, c_dkgray, 1);
}
}
else if(global.saveslot == slot && saveexists) {
if(smode == 3 || smode == 4 || smode == 5) {
draw_cool_text(x+4, y+20, string(modeindex) + sseed, c_black, c_white, c_silver, 1);
}
}
0
0
0
0.5
0.100000001490116
0
0.100000001490116
0.100000001490116
0.200000002980232
-1
-1