sSaveSlotB 0 -1 -1 0 <undefined> <undefined> 1 603 7 0 0 -1 2 self 0 0 1 global.curropt = 0; lastitem = 2; active = 0; alarm[0] = 5; h = 0; targeth = 33; fadein = 1; fadeout = 0; continuestr = get_text("Title", "GameSlot_Continue"); copystr = get_text("Title", "GameSlot_Copy"); erasestr = get_text("Title", "GameSlot_Erase"); 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(continuestr), string_width(copystr), string_width(erasestr)) + 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 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); if (global.curropt == 0) { global.newgame = 0; room_change(15, 0); } if (global.curropt == 1 || global.curropt == 2) event_user(1); } if (oControl.kMenu2 && oControl.kMenu2PushedSteps == 0) { global.curropt = 10; sfx_play(sndMenuCancel); event_user(1); } } // if (active) 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 == 1) instance_create(0, -200, oSlotMenuCopy); if (global.curropt == 2) instance_create(x, y, oSlotMenuErase); 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 = continuestr; op[1] = instance_create(x - 4, y + 3 + vsep, oNormalOptionR); op[1].optionid = 1; op[1].label = copystr; op[2] = instance_create(x - 4, y + 3 + vsep * 2, oNormalOptionR); op[2].optionid = 2; op[2].label = erasestr; 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 + 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