Variables, Switches & More Through Game Overs

I want a character to be able to transcend time and death.
Put simply, if my final boss kills you, i want him to remember that and have unique dialogue for it. And/Or deaths from certain enemies can be tracked possibly? Or somethin similar to a something like “Global Saves”
Got any script recommendations?

You just need to control in your event what enemy you are fighting and when you transfer to the recover map you turn the switch on and then you can proceed from there.

If you want the switch to be on even if the player closes the game and starts again you will also need a global save script to keep the data after the map transfer.

Global Save System - The Leech
Auto Save - Doctor Todd

You just need to control in your event what enemy you are fighting and when you transfer to the recover map you turn the switch on and then you can proceed from there.

If you want the switch to be on even if the player closes the game and starts again you will also need a global save script to keep the data after the map transfer.

Global Save System - The Leech
Auto Save - Doctor Todd
So, I have your script working, it is teleporting the player back to where I have them set but how do I keep a variable tracked?
I was overthinking it. I think if this is for just the final boss then all you need to do is enable the options to continue when loss.
Then you use the event to change you switches and variables.
But like I said that still doesn't stop the player from closing the game and starting again.

I mentioned a few scripts (maybe you didn't see that part).
If they don't do what you want I can try to make a save script to keep switch and variables data when losing a battle and normal saves (so that doesn't load old data)
I was overthinking it. I think if this is for just the final boss then all you need to do is enable the options to continue when loss.
Then you use the event to change you switches and variables.
But like I said that still doesn't stop the player from closing the game and starting again.

I mentioned a few scripts (maybe you didn't see that part).
If they don't do what you want I can try to make a save script to keep switch and variables data when losing a battle and normal saves (so that doesn't load old data)
What I was hoping was that I could keep a switch or variable ticked through the game over.
So as soon as they die the variable "mock" goes up by 1. When its at 1 the dialogue is triggered via a Conditional Branch, like in my image.
I'm more than likely going to be applying this to 3 bosses if possible: a necromancer, an angel (who is in this screenshot) and the god of darkness whos the final boss.

So what Id have in a perfect world is be able to track those 3 variables (the 3 different mocking variables for the bosses) and switches persistent through game overs, if its easily addable it would persist through game shutdowns.
Then possibly being able to add/remove variables/switches to said list mid game development would also would be nice but not needed.

I also tried searching for the other script's you mentioned but I kept hitting dead links.
Then
Then
Dude, I love you. This is exactly what I needed, thank you so much.

Original thread: https://forums.rpgmakerweb.com/threads/variables-switches-more-through-game-overs.176036/