sSaveSlotB 0 -1 -1 0 <undefined> <undefined> 1 603 7 0 0 -1 2 self 0 0 1 global.curropt = 1; lastitem = 1; active = 0; h = 0; targeth = 33; fadein = 1; fadeout = 0; lblstr = get_text("Title", "GameSlot_OverwriteConfirm"); yesstr = get_text("GlobalOptions", "Yes"); nostr = get_text("GlobalOptions", "No"); draw_set_font(fontGUI2); w = max(string_width(lblstr), string_width(yesstr), string_width(nostr)) + 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) { with (oSlotMenuCopy) event_user(0); event_user(1); } if (global.curropt == 1) event_user(1); } if (oControl.kMenu2 && oControl.kMenu2PushedSteps == 0) { 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 { with (oSlotMenuCopy) alarm[0] = 5; instance_destroy(); } } 1 603 7 0 0 -1 2 self 0 0 1 if (instance_exists(op[50])) with (op[50]) instance_destroy(); if (instance_exists(op[0])) with (op[0]) instance_destroy(); if (instance_exists(op[1])) with (op[1]) instance_destroy(); fadeout = 1; active = 0; 1 603 7 0 0 -1 2 self 0 0 1 vsep = 10; op[50] = instance_create(x - 4, y + 3, oMenuLabelR); op[50].text = lblstr; op[0] = instance_create(x - 4, y + 3 + vsep, oNormalOptionR); op[0].optionid = 0; op[0].label = yesstr; op[1] = instance_create(x - 4, y + 3 + vsep * 2, oNormalOptionR); op[1].optionid = 1; op[1].label = nostr; 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