I want to load the autosave of the game through an event trigger. The autosave is always saved on the first slot of the save files. I'm using bulletX/woratana's autosave + Neo save system 3 script. I used this script call to load the autosave file, but it throws an errors every time.
file = File.open("Saveslot1.rvdata")
read_save_data(file)
file.close
$scene = Scene_Map.new
Can anyone please tell me what would be the correct code to load the autosave manually?