There’s a savepoint system implemented in choicescript (I just learned this myself).
This should help- because it loads your save with all the stats the way they are at the point where you *show_password. And then where you *restore_password, it will take you to the exact point you *show_password with that password that you use in the *restore_password. It won’t work if you close your browser, but it is a lot better than nothing. Hope it helps.