Savepoint Sample Code

Updated the basic version (not the one with the ability to store multiple saves) with some tweaks under the hood. I’ve added comment lines for greater clarity as well as links to documentation. Please let me know if it’s not working as intended, or if you have any questions, or if there’s anything I can make clearer.

Ultimately this method does need you to be confident working with *gosub_scene so it’s worth brushing up on it if you’re not familiar with it. I’ve added links to ChoiceScript documentation about that and the basics in the first post as well.

Note: I’m going to leave these templates up for reference, but I strongly recommend using the inbuilt ChoiceScript checkpoint code instead which has been implemented as of November 2023. It’s quicker, easier, more flexible, and far less error-prone!

4 Likes