04-18-2009, 06:06 AM
Well, for an initial 'SAVE" at the start of the game, you should also store a variable/value like $gameslotnumber which indicates the save slot you're using. It'll be based on the index of the save slot window.
You would acquire this same $gameslotnumber when you load a game from the title screen, so this number will be in memory for any and all 'saves' you use.
I guess this makes it so saves are even easier as you only can use one slot. ;) The same one slot throughout the game.
And with this one value, you generate the filename, like...
Ripped from the default system.
You would acquire this same $gameslotnumber when you load a game from the title screen, so this number will be in memory for any and all 'saves' you use.
I guess this makes it so saves are even easier as you only can use one slot. ;) The same one slot throughout the game.
And with this one value, you generate the filename, like...
Code:
#--------------------------------------------------------------------------
# * Make File Name
# file_index : save file index (0-3)
#--------------------------------------------------------------------------
def make_filename(file_index)
return "Save#{file_index + 1}.rxdata"
end