This routine performs the same task as the four fragchk_ 0 ... which precede it. In each of these four previous routines, the only difference was the current heading of Torque, and this only affects the first two (math) lines.

Using some clever cmath expressions, it is possible to create a math line which does a different calculation depending on which way Torque is facing. (click the 'explain' after the cmath line for an explanation).

So basically, this routine does exactly the same as the previous four. In this version of Torque, Shea does not use the all-in-one routine, because there was a bug in AI Wars which affected cmath statements. This is now fixed but Torque has not been changed since.