So, I have two variables.
sword, which is boolean. You have one or your don’t, true or false. Not a *temp, it’s defined as false in my mygame.js
and
swordplay, which is a number
I randomly get the error “neither true no false” on this line of a *choice statement.:
*if (sword) #Swing the sword.
It treats it like a number, but it really is a true or false boolean. I mention the swordplay variable, wondering if it’s somehow confusing the two.
It works most of the time, but sometimes doesn’t.
I know I can rename the sword boolean variable, if that’s the error, but… is that the error?