Greetings! I've encountered a very frustrating problem that has come out of nowhere and I can't for the life of me figure out what's causing it.
My game works a little like the old Mario games in that there's a 'world' screen with portals which you walk over and select in order to play levels. At the end of each level is a boss who is guarding the exit portal. Once you enter that portal, it will transport the party back to level select and unlock the next level in that world based on a switch.
For example, Level 1's exit portal has the following:
PAGE ONE [Below Characters, Action Button]
@> Control Switches: [0001:W1L1 Complete] = ON
@> Play SE: 'Magic2', 80, 130
@> Recover All: Entire Party
@> Transfer Player:[004:Level Select - World 1] (012,019), Down, White
And Level 2's ENTRANCE portal has the following
PAGE ONE:
- Just a black portal graphic
PAGE TWO (Condition: Switch 0001:W1L1 Complete = On) [Below Characters, Action Button]
@>Play SE: 'Magic2', 80, 130
@>Transfer Player:[006:Level 2] (034,182), Up, White
@> Change Battle BGM: 'BGML2'
This functions perfectly without a single problem. However, level 2's EXIT portal isn't functioning properly but I don't understand why because it is literally identical to Level 1's (copy pasted) except that Level 2's exit portal turns on the [0002:W1L2 Complete] Switch On instead and Level 3's entrance portal requires that switch to be turned on. Literally all I changed was making sure the correct level's switch is turned on and required. For some reason though, the Level 2 exit portal either isn't turning the switch on, or it is being instantly turned off afterwards. I've used F9 to check and the switch is definitely off after using the portal.
The strange thing is, this switch was working fine too, but now suddenly it's not, and I have no idea what's caused it because I haven't been doing anything related to the switches or portal. I've looked all over the game to see if I accidentally made some other process or event that messes with the switch, but there isn't. I wish there was a way within RPG Maker to see every event that references a specific switch, but I'm 99% certain that there isn't one since these two portals are the one and only time I'd ever need to reference the switch at all and thus I'm at a total loss as to why it won't turn on, or if/why it's being turned off straight away, especially when the other level portals work just fine.
I can't imagine it being a script issue but here's the obligatory list anyway:
- Raizen's Triple Triad
- MOG_Battle_Hud_Ex
- MOG_Damage_Popup
- Minimum Damage (Unknown Author)
- Yanfly Instant Cast
- Yanfly Party Select
- No Junk Boxes (Unknown Author)
- Yanfly Target Manager
- Sixth's Target One Ally
I wish I could provide more info somehow as I can't imagine anyone having a clue based on the limited info I can give

I really hope this can be fixed 'cause naturally this is game-breaking and if I can't fix this stupid switch/portal I'm going to have to cancel the whole project and kiss weeks of work goodbye
