goto locked_ #cur_head #inbound:

When Torque detects that a missile is heading his way (i.e. #inbound > 0) then he uses this goto statement to jump to one of 16 possible routines to avoid it. (there are four possible values of #cur_head and four values of #inbound, making 16 possibilities).

Each of these routines is relatively simple, and they basically fall into two categories.