I'm trying to make it so when a party is defeated, rather than sending the player to the Game Over/Title Screen, I send them back into a location in the game. Is this possible? I've been looking through System/Database, but I can't seem to find anything to help my cause.
I've tried the attached but it doesn't work. Maybe there's something I'm missing. Any help would be appreciated, thanks!

RPG Maker Web attachments are mirrored locally when available. Other external links remain hosted by their original creator or third-party service.