First 4 Switches default turned "On"

Hi, im having an issue where for some reason the first 4 switches in my game are turned on by default, and i have no idea what's causing it.


Is there anything i can do to turn them off at the start of the game until they're supposed to be normally activated?


Thanks in advance for any help.
@CivilYoshi


Do you happen to be using the Kaus_Ultimate_Overlay plugin?


I ask because that uses 4 switches to turn each layer on (fog, light, parallax, shadow).  And by default the switches are 1, 2, 3, and 4 (but you can set them to whatever you want in the plugin commands).  In this plugin, by default "Quickstart" is true (on) which starts the game with all the switches on so the player does not see weird transitions with your map layers coming on.


I'm asking this specifically because installing this plugin will generate the exact symptom you are describing.  If you are using it, change your switches to something in the plugin commands that you will never use for anything else (and I would recommend labeling them appropriately so you don't confuse yourself later on).  If you're not using the plugin, I'm not sure what else would cause that symptom, but I would turn off all your plugins to see if it still is happening then work through cyclically to see which one might be a culprit.
Yep, seems like you found the culprit. (It was OrangeOverlay, but same issue)


Thank you very much, i was losing my mind trying to figure out why they were turning on by default.


All fixed now, thread can be closed up. 
ALWAYS go over the plugin parameters when you add a new plugin.  You often need to configure them, or at the very least, note what switches/variables they are using and name them so you don't accidentally use them for something else.


A good portion of the script/plugin support questions are due to people adding scripts and plugins without configuring, then using the same switches/variables for other things.  Thankfully some of them happen so often that someone will immediately know what the problem is, but some are much more obscure and take a lot of effort to track down.

Original thread: https://forums.rpgmakerweb.com/threads/first-4-switches-default-turned-on.63782/