Game Switches turn off on Map Change

Can anyone explain this? I use events to turn on game_switches, and I doublecheck to make sure that they're on with a msgbox $game_switches[x] script. Then, when I transfer my character to another map, they automatically turn off. The weird part is that only some switches do this. I can manage to keep switch 81 on indefinitely between map transfers, but when i perform transfers to the SAME MAP, switches 331, 332, and 333 always go from true to false. I've checked every single event on the relevant maps (the maps that I transfer to and from) to insure that there's nothing that would turn these switches off. I've also tried scripting the switches on in case it was a problem with the editor command, but they still erase.

My only guess at this point is that this is somehow a bug related to increasing the maximum number of usable switches, since it doesn't seem to happen with switches below 100. It might also be the methods I use to turn them on, but I've tried similar methods for both high  and low switches, and I still get the same results.
Are you using any scripts that might enable/disable those switches automatically?
ok I finally got it. I had modified the engine to turn off switches 201-204 a couple months ago for a battle condition, but I coded it wrong and accidentally turned off EVERY switch over 200.

STILL LEARNIN, ty madam.
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/game-switches-turn-off-on-map-change.18066/