This may be a very simple question with a simple answer. So I am making a text adventure that will have multiple story routes, very similar to Nier Automata in that regard. The game opens up with a quick prologue route that ultimately brings the player back to the main menu and forces them to select a new game. The problem is that the main menu sets the story flags I have set back to 0. How would I go about making these flag changes permanent?