Because I don't know how to go about asking for help, this post is going to be kind of long-winded. Most of it will be an explanation of how my sloppy project works. My issue is at the bottom.
I've been making a small puzzle game to familiarize myself with RPGMaker's several functions. Currently there's only one puzzle which consists of flipping the switches in the right order to make a portal for escape to appear. (based off this thread - thanks!). Completing the level turns on the "piano done" switch which makes the portal event appear:
Event Editor

This is how the initial switches are programmed, along with the common event:
Event Editor

After the player finishes the level, they're transported back to the lobby from which they can now access a level selection room. In that room this event autoruns:
Event Editor

(All autoruns are taken care of, DW).
However, once you go back into the level, even if you re-solve the puzzle correctly, the portal event won't appear. Depending on what I tried, sometimes the portal would be there before the puzzle was even solved, and sometimes it refused to appear at all even though I've solved the puzzle correctly and turned on all the switches (I tried it in debug mode as well - nothing).
Addendum: Before posting this, I've fiddled around with this a bit more, and now it refuses to load during the first play as well... Oh boy.
Anyway, I'd really love if someone could help me out on this. It seems like the fix is so simple and yet it's out of my reach, haha. Cheers!
Sorry if I haven't explained my issue well; it's currently 2am and I've been trying to solve this for an hour...

