I'm using Yanfly's Skill Core, and I've created a pretty neat concept for some skills that need a switch to be on to use them.
I though that would work but gives me an error... What am I doing wrong? Is it even possible with switches or should I use variables instead?
JavaScript:
<Custom Requirement>
if $gameSwitches.value[122] == true {
value = true; // enable skill
} else {
value = false; // disable skill
}
</Custom Requirement>
I though that would work but gives me an error... What am I doing wrong? Is it even possible with switches or should I use variables instead?