HP= 0= GameOver...?

So, if your characters hp reaches 0, the vanilla scripting is set up for it to automatically be game over right? So, is there a way to keep it from being game over when all your characters reach 0? like, can you make it so your characters can still make actions, but in an impaired state.
If it's an evented battle, as part of your event command 'Battle processing' check the box 'Continue even when loser'.  You can then set whatever impairment conditions you like.

Original thread: https://forums.rpgmakerweb.com/threads/hp-0-gameover.21443/