Self switch should work but isnt

so basically I'm in a situation where I think the self switch should be working but isn't

the thing is i'm a noob in the first place and was only just getting the hang of all this when i had to take a break for a while, so i am 99.9% sure this is due to a mistake on my part

screenshots:

tyr.png

tityit.png

hfhdd.png

igyu.png

she needs to stop saying that every time she leaves the room, and I can't work out how to do it for some reason

please help me out if you can
Did you try turning switch #1 off?
As said above, the problem appears to be due to your Switch remaining on; when you leave the room, that Event is activating again because it is left on (since its Condition is fulfilled), and set to Trigger when the player steps on it. Be sure to turn off Switches when they are used as Event Conditions or these things happen; turning it off leaves the Condition unable to be fulfilled and thus it cannot activate again.

Let us know if this solves the problem.
ALWAYS name your switches, that will prevent you from using them multiple times. Are you sure that switch #1 is controlled correctly?


Additionally, you should make the transfer command the last command - going to another map stops event processing in a lot of cases, so it's not guaranteed that the self-switch command after the transfer gets executed.


and please use [alt]-[prtscr] instead of just [prtscr] for your screenshots, that will limit the screenshots to the active window and make them better readable.
Thanks Andar, that did the trick!
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/self-switch-should-work-but-isnt.43336/