Scripts by Aleks, Guide by Pvic
Go to scr_game_initialization and remove this:
https://cdn.discordapp.com/attachments/389897599898877952/404343079219494915/unknown.png
Replace the following scripts with the following:
scr_slot_save
// call this script to save the stuff/gameslot_data = ini_open("gmate_save"+string(argument0)+".bin"){ //Save/Write Save Slot: if(global.used_level_select == false){ ini_write_real("SLOT","ZONE", global.save_zone ^ ini_randomize); ini_write_real("SLOT","ICON", global.data_select_icon ^ ini_randomize); }else{ ini_write_real("SLOT","ICON", game_is_completed ^ ini_randomize); }; ini_write_real("SLOT","LIVES", global.save_lives ^ ini_randomize); ini_write_real("SLOT","CHAOS", global.save_chaos ^ ini_randomize); ini_write_real("SLOT","CHAR", global.save_char ^ ini_randomize); ini_write_real("SLOT","CPU", global.save_cpu ^ ini_randomize);};ini_close()scr_slot_load
// call this script to load the save lot//FYI, "argument0" represents the slot number.if (file_exists("gmate_save"+string(argument0)+".bin")){ slot_data = ini_open("gmate_save"+string(argument0)+".bin"); //Load Save Slot 1 dec_slot_zone = ini_read_real("SLOT","ZONE", global.first_zone); slot_zone = dec_slot_zone ^ ini_randomize; dec_slot_lives = ini_read_real("SLOT","LIVES", 3); slot_lives = dec_slot_lives ^ ini_randomize; dec_slot_chaos = ini_read_real("SLOT","CHAOS", 0); slot_chaos = dec_slot_chaos ^ ini_randomize; dec_slot_char = ini_read_real("SLOT","CHAR", 1); slot_char = dec_slot_char ^ ini_randomize; dec_slot_cpu = ini_read_real("SLOT","CPU", 0); slot_cpu = dec_slot_cpu ^ ini_randomize; dec_slot_icon = ini_read_real("SLOT","ICON", 1); slot_icon = dec_slot_icon ^ ini_randomize; empty = false; //the slot is not emptyini_close(); }else{ empty = true; //if no save data exists, the slot is empty}scr_options_load
//Load the Options Save:options_file = ini_open("config_options"){ //Normal Settings: global.bgm_volume = ini_read_real("OPTIONS","VOLUME", 1); global.sfx_volume = ini_read_real("OPTIONS","SFXVOLUME", 1); global.win_resolution = ini_read_real("OPTIONS","RESOLUTION", 1); global.angle_mode = ini_read_real("OPTIONS","ANGLE", 0); global.use_peelout = ini_read_real("OPTIONS","PEELOUT", 1); global.use_homing = ini_read_real("OPTIONS","HOMING", 0); global.use_light = ini_read_real("OPTIONS","LIGHT", 0); //Gamepad Settings: global.gamepad_mapped = ini_read_real("GAMEPAD","MAPPED", false); global.gamepad_action = ini_read_real("GAMEPAD","ACTION", 0); global.gamepad_special = ini_read_real("GAMEPAD","SPECIAL", 0); global.gamepad_pause = ini_read_real("GAMEPAD","PAUSE", 0); };ini_close()scr_options_save
//Load the Options Save:options_file = ini_open("config_options"){ //Normal Settings: ini_write_real("OPTIONS","VOLUME", global.bgm_volume); ini_write_real("OPTIONS","SFXVOLUME", global.sfx_volume); ini_write_real("OPTIONS","RESOLUTION", global.win_resolution); ini_write_real("OPTIONS","ANGLE", global.angle_mode); ini_write_real("OPTIONS","PEELOUT", global.use_peelout); ini_write_real("OPTIONS","HOMING", global.use_homing); ini_write_real("OPTIONS","LIGHT", global.use_light); //Gamepad Settings: ini_write_real("GAMEPAD","ACTION", global.gamepad_action); ini_write_real("GAMEPAD","SPECIAL", global.gamepad_special); ini_write_real("GAMEPAD","PAUSE", global.gamepad_pause); ini_write_real("GAMEPAD","MAPPED", global.gamepad_mapped); };ini_close()these were made by aleks, credit him if used