Boss Fight

I have a sprite that initiates a battle, as usual for boss fights, but how do I make it so he disappears after a VICTORY, and ONLY a VICTORY? Furthermore, how do I change the conditions in which game over screen appears (i.e my whole party dying, not just the battlers)?

Thanks in advance.
After the battle event, add a self switch, then on a new event page make a blank event with the condition requiring that same self switch.
This will change the event to be empty.

Spoiler: Pics
4QqeRkI.png

yEm0Y2N.png

Original thread: https://forums.rpgmakerweb.com/threads/boss-fight.104951/