This line checks whether the enemy is less that 7 spaces in front of Torque. If it is, then Torque calculates the negative of the distamce that the enemy is to the side of him (did that make any sense?)

This is used in the line below, in the following way: