Pause event processing for singular event?

So, I'm using this script HERE to call a common event on a battle loss, or some other form of game over. However, the issue I'm currently having is that my boss fights continue processing (which, to be fair, is the default intended behavior). For random encounters, I can use a conditional branch, considering that the player can escape, I can rely on them winning, escaping, or dying. I figured I'd use a conditional branch checking for Death on the party members, but since I have party members return to 1HP after battles, that won't work. Any ideas as to how I could tackle this?


The idea is that when the player gets a game over, the common event instead of flat out ending the game, transports the player to a different map, where they have the chance to keep their progress instead of losing it. But, as it currently stands, the common event goes to transfer them, but the boss fight event keeps processing, starting the "you've beaten the boss" section of the event. Also open to alternative wordings for the title. The core issue isn't an incompatibility between the script and engine, as both work as originally intended by their makers. Felt that needed clarified, as this isn't a script support board, but rather an engine support board.
How are you setting up your boss fights? If you have them as events on the map, check the box to continue if you lose, then under the branch for if lose, have it call your common event.
Wow, I'm an idiot. Thanks, bgillisp! That will work wonderfully 🙂

Original thread: https://forums.rpgmakerweb.com/threads/pause-event-processing-for-singular-event.56977/