thpj5/objects/obj_save_loader/Step_0.gml

19 lines
418 B
Plaintext

countdown--;
if (countdown == 0 ) {
//load file
var save_check = scr_files_load( global.load_file_name );
if (global.autosave_load == true) {
global.autosave_load = false;
save_check = scr_files_load( SAVE_AUTOSAVE );
}
if (save_check == FILE_LOAD_FAIL) {
scr_files_load( SAVE_DEFAULTS );
}
countdown = -1;
}
if (countdown <= -20 ) {
//send to specified room in save file
room_goto(rm_scene); //temp
}