Data(33,34,26,18,35,27,19,36,28,20)->GDB0
While 1
getKey->K
inData(K,GDB0)->r1
EndIf r1
Data(33,34,26,18,35,27,19,36,28,20,0)->GDB0
While 1
getKey->K
inData(K,GDB0)->r1
EndIf r1Fixed.
Ok I have a feeling I'd be able to firgure this out myself, but it would prolly take a while since I don't remember much from math

Anyway, so I have a projectile flying at (S,T) with an angle, Z. If Z is zero it faces straight down, 256 degrees, etc.
I have an enemy at, say, (X,Y). How would I check which side of the projectile the enemy is on (right or left), related to the projectile's angle?
tan⁻¹(S-X,T-Y)-Z^256<128 should be true if the projectile needs to rotate in the positive direction.
tan⁻¹(S-X,T-Y)-Ze0 is optimized but returns the opposite.