Escaping battle - Conditional Route?

Hi, so I'm trying to make this thing where there's a secret option where if you escape the battle, it leads the game to a different path.


How would one go about that?
Quite simple, really. All battles have a conditional branch in either the common events where you call from or on the map. One of these is "When escape" if you allow the player to escape from the battle. All you have to do is make as many switches as you think you'll need to change the game's course, then switch all of those on in that section using the Control Switches command. This can all be done in the map events.
Are you using evented battles or random battles?  I'm guessing it's evented, as you might only want to do this with a boss?  In that case, do the above - you may have to check the 'continue when lose' option to make the 'when escape' option available.


If you're wanting to do this with random battles, you would need a script that turns on a switch when you escape from battle.  I have made a plugin that does this for MV, but that won't really help you.  If you're using random battles, I can see if I can port it to Ace for you.

Original thread: https://forums.rpgmakerweb.com/threads/escaping-battle-conditional-route.56997/