Thank you!by (no login)
I knew there had to be a better way! I cut it down to:
IF x MOD 45 = 0 then
blah blah blah
different blah blah blahs
It does exactly the same thing, just faster cause it doesn't loop any more, so YAY! I got my 14/100 of a second back, and it's oddly running even a little bit faster now! Hey, that 14/100 of a second adds up over time.