- Mar 5, 2021
- Reaction score
- First Language
- Primarily Uses
If you look at the top you'll see that I did add 300 to var 303, making it 405. Per @Soulrender 'syou say the value of #303 is 105, but then you want to check switch #405
and am still getting the same results.
That's exactly what I've been doing, and it should be false but is showing as true.After you add 300 to the variable, put in a "show message" with \V to see what the value of the variable actually is.
Wait, is it supposed to be 3 equal signs? I tried it with === instead of ==, getting same results.but I would use
$gameSwitches.value($gameVariables.value(303)) === true
That's exactly what I've been doing, and it should be false but is showing as true.
I want you to put a "show message" command RIGHT AFTER that, with \V in it.
This should tell you the value of the variable and not "true" or "false".
if ($gameSwitches.value(X))and it will proceed correctly if the function returns true.