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.