A wierd bug with switches?

Welcome. I'm having a wierd situation with switches. This never happened before and I can't seem to find the solution, tough I feel somehow it may be very simple and I'm just missing something.

So let's explain... I created two event pages for a character
Spoiler: Page 1
X747uOp.png
Spoiler: Page 2
z41qSAc.png
The scene I'm trying to achieve is that the above character is standing in the buidling and when the player walks up to him and talks, he starts explaining about monster movements [ as seen in the Page 1 image ].
The player is then transported to an example map where an Autorun event page activates the 'Elf guy school' switch, then transfers the player back.
When back, the character speaks to the player automatically, hence autorun [ as seen in Event page 2 image ].

The result I'm getting now is right after walking in the building, event page 2 is started automatically even though nowhere before the 'Elf Guy school' switch is activated.

Please enlighten me on what's the problem.
It seems the switch is on. Otherwise it wouldn't activate.
You can easily check it by pressing F9 after the event activates, it will open a debug window showing the current state of switches. Look at switch 4.
Well yeah, the switch is on but I have no idea why...

I am testing now with a fresh new game starting at the mentioned building, I've searched throughoutly and nowhehere did I activate it.

NOTE: I have a pararell event which activates switch 3. Is there maybe any MV bug which may cause the other switches to get activated?
EDIT: Nope. Deleting that event did nothing.
Not really, I would rather suspect a plugin forcing switch 4 to activate. There are some plugins that have the ability to turn switches on forcibly.
Spot on!
The problem actually lied with Kaus_Ultimate_Overlay plugin using switches 1-4.
Simple changing the switch to 5 solved the problem 🙂

Many thanks.
Not really, I would rather suspect a plugin forcing switch 4 to activate. There are some plugins that have the ability to turn switches on forcibly.
Thank you just found out my problem!
The problem actually lied with Kaus_Ultimate_Overlay plugin using switches 1-4.

The problem is that you didn't configure the plugin when you added it. The very first thing you should do with ANY plugin after adding it is to check what switches and variables it might be using, change them to other ids if you're already using those, and go in and name those switches & variables so that you don't accidentally use them for something else.

Original thread: https://forums.rpgmakerweb.com/threads/a-wierd-bug-with-switches.81690/