This event doesn't appear to be the problem. It's likely whatever The Quest for Dr. P does, or maybe whatever you have on the second page. If either of those switches are triggering an auto run event, that would freeze the player character.
most likely you made a common event into an autorun without using it.
If the party cannot turn or move, then you have an active autorun.
Which means that turning on one of the switches is activating that autorun.
This could either be the second event page if that is triggered by the self-switch, or whatever is triggered by the switch #1
There are a few scripts that use switch #1 by default if they are added without configuring it, or it can be a common event because the switch #1 is also the default for common events set to autorun or parallel.
So best guess is that you changed an unused and empty common event to autorun while exploring the database and forgot to change it back - and now your switch is activating it.
Like they said, you probably assigned switch 1 to something else and forgot about it, which means you must use a different switch. Try switch 101. If the problem goes away, that means switch 1 was assigned by accident to something else (check your scripts and your common events, as those are the common locations.)
FYI - Alt + PrintScreen will capture only the active window, which makes your event code much easier for us to read.
So does this mean that the thread can be closed? If it does, please report your opening post (the report button is just right of the time of posting) and ask for it to be closed. Mods might miss a report here, but will see a report.
Thanks.
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.