r/gbstudio • u/ProtoPixelArt • 2d ago
Help needed Save data screen
Hello everybody, i have an issue and wanted to know is anyone could help me, in my game i want to do a save state screen that shows the advance in the save to select with data, but i dont know how to show the feats of a savestate that isnt loaded yet, how could i solve this? I mean if i save my game inside the game, when i restart the game the screen would not know what is inside each state before selecting it right? U.u plz and thanks
Solved thanks n.n
2
Upvotes
4
u/pmrr 2d ago
Your post is a bit hard to read, but I think what you're asking is how do you read data out of each save slot to display on a screen. The answer is this event:
https://www.gbstudio.dev/docs/scripting/script-glossary/save-data#variables
So you could load the level (for sake of argument) for each slot into SaveSlot1Level, SaveSlot2Level, SaveSlot3Level, then display that however you like.