Priority of an event - MV

I have to have an event set to below player and change if a switch is off

the idea is:
If - Inputnameofswitchhere is off
- Priority set to same

but i cannot find anything that changes that setting i am needing help
the default for a switch is off. can you not do it so it requires the switch to be on? maybe when the switch in question is turned off, it turns on another, which could be used to control this?
maybe this could instead increment a variable, and then the second page could require that variable at that value to be active?
Just have two pages with the needed priorities. Have one with switch on and one with it off.

Original thread: https://forums.rpgmakerweb.com/threads/priority-of-an-event-mv.132231/