Reply to Re: Potion puzzle [and coding in general]
If you don't have an account, just leave the password field blank.
If statement will only execute as far as first condition is met. So, for an example, if boo1 and boo2 come out 'true', this code above will fix the boo1 state, but it will completely disregard boo2, and boo3.
That's because you wrote "else if"
Just do if() instead of else if() and it should check all three instead of just one.
Else will only run if none of the other if() conditions are met. As soon as one of them is met it will disregard the else() checks.
That's because you wrote "else if"
Just do if() instead of else if() and it should check all three instead of just one.
Else will only run if none of the other if() conditions are met. As soon as one of them is met it will disregard the else() checks.