MV mckathlin_ game over plug in common event

Hello I'm try to make it were when you lose a random encounter you respawn
back a main character home. i have it set so the game over screen to false but it still show up anyways can some please help me?
there are 2 options you can do here:

1. ditch the plugin
why? you can remove the choice and do the same afterwards.

2. if this are random encounter, you can create a state (passive) and lunatic code,
if you use YEP plugins for state and buff core and one related to call common events,
to check if all players are dead.

however, you can also simplify with another plugin to call a mapId and event there
what will happen which can be better with [HIME_GameOverEvents].

you set the mapId for game over, show parallax.
autorun a event with the text box and transfer the player.

if you want to show choices
- return home
- return to title screen

this way, they can start over a new game, load a different file or continue.
whatever you choose is up to you.
Hello sorry but there was a typo in the code where it say mckathlin.parameters =pluginmanager.parameters('kath_GameOver'); you have to change it to mckathlin.parameters =pluginmanager.parameters('McKathlin_GameOver');
if you name the plugin "kath_GameOver" it works just fine,
if you rename it, the parameters are ignored.

so you need to name the plugin correctly in order to make it work.

glad you got it work, Good luck with your project.
Thanks

Original thread: https://forums.rpgmakerweb.com/threads/mckathlin_-game-over-plug-in-common-event.167829/