Explanation:
 
This line jumps to a routine called either 0:, 1:, 2:, 4:, or 5:, depending on the value of the #scan variable. In fact, the 0: and 1: routines do not exist, but this does not matter in AI Wars. If the destination of a goto does not exist, then the battle simulator just goes on to the next line of code.
 
  • NOTE: With the gosub command, it does matter if a destination does not exist. If you keep using gosub with no-existant labels, then eventually the stack will fill up and your cybug will stop working!!