My VN revolves around a time travel mechanic where the player can go back to any prior point in the game and will be given extra options in the past based on what they have seen, or what decisions they have made.
In an attempt to implement this I created a new time-travel screen that has a 'go back' button, and tried utilizing the rollback function. But since it seems to simply return the entire game to a previous state (if I understood the documentation correctly) it removes the player from the time-travel screen and I assume returns all variables to their previous values as well, which simply won't work for what I'm trying to do since the choices made need to be remembered.
I believe that I need to create a custom action, but I can only find tutorials and guides explaining how to do things via screens and existing actions, and nothing about how to create entirely new actions or actually alter things behind the scenes. I tried searched for where the existing rollback action is defined so I could use that as a template, but found nothing.
Does anyone have any advice on where to even start implementing a feature like this? Is there an obvious way to do this via existing actions that I'm just not seeing?