#config scanner=3 #config weapon=2 #config engine=3 #config armor=2 #config heatsinks=2 #def lastacc #def lostcount xor lostcount, lostcount opo 11, 100 !scan !32turn add lostcount, 1 opo 12, 64 :32 err lostcount opo 17, 32 ipo 7, ax cmp ax, 2000 jgr !32turn mov bx, @3 mov lastacc,@3 shl bx, 4 opo 12, bx :8 opo 11, 100 opo 17, 8 ipo 7, ax cmp ax, 2000 jgr !lost8 !found8 mov ax, @2 add ax, 32 opo 14, ax opo 14, 5 mov bx, @3 mov lastacc,@3 shl bx, 2 opo 12, bx ipo 2, ax cmp ax, 250 jgr 8 opo 15, 0 je 8 jne 8 !lost8 mov dx, lastacc shl dx, 3 opo 12, dx ipo 7, ax cmp ax, 2000 jgr !lostit jls !found8test !lost4 mov dx, lastacc shl dx, 1 opo 12, dx !found8test je !found8 jne !found8 !lostit add lostcount, 1 je 32 jne 32