So I'm trying to make an if statement to see if a variable equals any of a bunch of variables. I had thought it would be something like this:
But this doesn't work.
Thoughts?
Code:
if ($gameVariables.value(629) == $gameVariables.value(602) || $gameVariables.value(604) || $gameVariables.value(606) || $gameVariables.value(608) || $gameVariables.value(610) || $gameVariables.value(612) || $gameVariables.value(614) || $gameVariables.value(616))
But this doesn't work.
Thoughts?