Glitchfinder
Staff
I've been trying to use an if command to check if a specific switch is on, to no avail. Instead of checking to see if the switch is on or off, it gives me an error:
Now, the line of code it is referencing is:
Now, if someone could please help, it would certainly be appreciated.
http://img.photobucket.com/albums/v652/glitchfinder/rmxp%20org/Scripterror.png[/IMG]
This error occurs at startup.
This error occurs at startup.
Now, the line of code it is referencing is:
Code:
if $game_switches[0001] == true
I've tried it with different variations of 1 and 01, etc.
Now, if someone could please help, it would certainly be appreciated.