Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.
All the help you need is in the example maps, specifically the Gym map in Cedolan City. It contains an event whose behaviour is changed by a certain Game Switch being on. Same principle.
Actually, all the help you really need is some basic RMXP knowledge.
Just make a second event page for all the trainers with the condition of the switch that you have. That will make that page of the event take priority when the switch is on. Also as Maruno said that is basic RMXP knowledge.