#config mines=5 #config armor=2 #config weapon=3 #config scanner=0 #config engine=2 #config heatsinks=0 opo 11, 100 ;set throttle 100 :1 ipo 22, ax ;checks mines left cmp ax, 0 ;has it run out of mines? jeq 3 ;if yes goto 3 jmp 2 ;if no goto 2 :2 delay 30 ;wait 100 opo 22, 15 ;lay mine opo 14, 10 ;turn 10 jmp 1 ;goto 1 :3 opo 11, 0 ;stop opo 12, 5 ;turn turret 5 ipo 2, ax ;check heat cmp ax, 300 ;is heat greater than 300? jgr 3 ;if yes goto 3 opo 15, 0 ;fire jmp 3 ;goto 3