Like, lets say I wanted to check something every time I moved.
if(variable) variable2 = 1
Now, obviously that would be fine, but if I had 8 variables or even, say 80 to check, would that slow the code down? Also, does the validity of the statement matter? If the statement is false, will it slow the code down (and movement in general) or only if its true?
(This seems pointless, but I'm making the kinda game that might need several such checks)