Some RPGs out there are arbitrarily increased in difficulty by the simple rule that if the lead character dies, it is considered a Game Over.
This small script provides that same functionality to VX Ace projects with the added flexibility of flagging any actor you want. This only affects battles. Deaths on the map scene are not checked.