Talk:FNAF Time-Counter Test/@comment-5334617-20150829163223/@comment-5334617-20150830141800

Here's another tip: look into  (the modulo operator). Particularly, consider. If  is positive, and less than 20, the result is the same as. If  is positive, and 20 or greater, the result is what you get when you subtract 20 until you get something that's below 20.

I think the line

might be handy for you.