sSaveSlotCopy 0 -1 -20 0 <undefined> <undefined> 1 603 7 0 0 -1 2 self 0 0 1 image_speed = 0.2; targetslot = 0; if (global.saveslot == 0) targetslot = 1; active = 0; alarm[0] = 5; file[0] = "save1"; file[1] = "save2"; file[2] = "save3"; dialogy[0] = 60; dialogy[1] = 104; dialogy[2] = 148; if (oControl.mod_insanitymode) { mycolor = make_color_rgb(187, 3, 3); myslot = sSaveSlotCopyInsanity; } else { mycolor = make_color_rgb(3, 187, 25); myslot = sSaveSlotCopy; } 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) { if (oControl.kDown && oControl.kDownPushedSteps == 0 || oControl.kUp && oControl.kUpPushedSteps == 0) { targetslot += 1; if (global.saveslot == targetslot) targetslot += 1; if (targetslot > 2) targetslot = 0; if (global.saveslot == targetslot) targetslot += 1; sfx_play(sndMenuMove); } if (oControl.kMenu1 && oControl.kMenu1PushedSteps == 0) { var t = file[targetslot]; if (!file_exists(file[targetslot])) { event_user(0); } else { active = 0; instance_create(270, dialogy[targetslot], oSlotMenuOverwrite); } sfx_play(sndMenuSel); } if (oControl.kMenu2 && oControl.kMenu2PushedSteps == 0) { with (oGameSelMenu) alarm[0] = 5; global.curropt = global.saveslot; sfx_play(sndMenuCancel); instance_destroy(); } } if (targetslot == 0) { x = 64; y = 40; } if (targetslot == 1) { x = 64; y = 84; } if (targetslot == 2) { x = 64; y = 128; } 1 603 7 0 0 -1 2 self 0 0 1 copy_save(global.saveslot, targetslot); with (oGameSelMenu) alarm[0] = 5; global.curropt = global.saveslot; instance_destroy(); 1 603 7 0 0 -1 2 self 0 0 1 draw_sprite(myslot, -1, x - 19, y - 7); draw_background_ext(bgSaveSlotLine1, x, y + 18, 207, 1, 0, mycolor, 1); 0 0 0 0.5 0.100000001490116 0 0.100000001490116 0.100000001490116 0.200000002980232 -1 -1