Here is my code (revised to only include problematic code):
if reindeer.pos.y > 30:
deerStatus[deerIndex] == "awake"
The problem is the hero always says that the reindeer is asleep. Please help me!
Here is my code (revised to only include problematic code):
if reindeer.pos.y > 30:
deerStatus[deerIndex] == "awake"
The problem is the hero always says that the reindeer is asleep. Please help me!
deerStatus[deerIndex] == "awake" // == returns boolean value; = is assignment
//( I know you know it )
That was ridiculously easy. Sorry for late reply, and thank you for helping me!