How to use a conditional branche for battle outcome dialogue?

In my game there's an opening battle that I ticked the "can loose" box in the battle menu.

I added a "show choices" option before the battle.
The two choices are accept and decline.
The condition for the battle are win, loose, and decline.
Each of them has accompanying dialogue and a switch trigger.

They all work fine in the first map, but where I'm having trouble is on the next map.

I have an event on Autorun with an npc image ready to talk to the player.

In the contents of its event editor I added a conditional branch:
If: Won in battle switch is on
*dialogue*
Else: If: Lost in battle switch is on
*dialogue*
Else: If: Declined battle switch is on
*dialogue*
End
End
End

But for some reason the auto run event won't run
please show us screenshots of that event - your description is missing a lot of points that could cause this like the wrong page conditions or the wrong page or other event properties.
It turns out I just forgot to delete some event pages, it works fine now.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-use-a-conditional-branche-for-battle-outcome-dialogue.165267/