I want to have an event run whenever there is game over, but I don't know how to script and it'd be a nuisance to replace random encounters with a step counting parallel event that calls battles with if defeat handler. Could anyone help?
Event Game Over
RPG Maker VXAce SupportCommon event on game over? Before or after?
I want it as a replacement actually.
Ohh okay, Kread-ex already wrote one; https://grimoirecastle.wordpress.com/rgss3-scripts/utility-scripts/game-over-common-event/
If you said exactly what you want to happen, what it is you are trying to achieve, it would be easier to answer your question. For example, do you want the player to be teleported back to a specific location or to the last save point? Do you want the player to be given the option to retry the battle? Do you want the player to keep all the gold, exp and items that they'd acquired since the last save? etc. etc. etc. There are so many different possibilities.
Original thread: https://forums.rpgmakerweb.com/threads/event-game-over.42133/