trouble with in-battle switches.

troops page

conditions party member hp less than 50%

-) switch(01) on

-) abort battle

when this switch is on I'm trying to transfer the player to map one.  How do I do it?

players start on map one and transfers to map two

battles start on map two
In Ace you would have a common event set to parallel process conditioned by switch 1, that transfers you to map 1 then turns switch 1 off again.

Can you do something like that?
I tried that out and i'm stuck on a black screen.  

map one and two have parallel process. 
Are you using any fade ins/fade outs, the screen will stay black if you don't fade back in after fading out. Other than that it would help to see a screenshot of your running events.
no i'm not.

i created a new project and I still couldn't get it to work.  

the player never transfers to the new map.  
Can you show us screenshots of your events?  Maybe change the switch first, before the transfer, and see if it makes a difference?
sorry, i got it to work!
@vox novus

thanks that fix my problem even though I didn't use any fadeins/fadeouts, i guess it's from the battles by aborting them?
z3740d, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.

If you need to add something, just edit your last post 🙂

Original thread: https://forums.rpgmakerweb.com/threads/trouble-with-in-battle-switches.45155/