diff --git a/ai.asm b/ai.asm index 3955779..191dca9 100644 --- a/ai.asm +++ b/ai.asm @@ -546,9 +546,10 @@ End rts ; returns angle and power of shoot tank X (TankNr) ; in the appropriate variables (Angle and Force) ;---------------------------------------------- -; lda ActiveDefenceWeapon,x ; sorry memory !!! -; cmp #ind_White_Flag ; if a white flag, targeting makes no sense -; beq FindBestTarget2.End ; nearest RTS + lda ActiveDefenceWeapon,x + cmp #ind_White_Flag ; if a white flag, targeting makes no sense + beq FindBestTarget2.End ; nearest RTS +; mva #$ff SecondTryFlag NoSecondTry lda ActiveWeapon,x diff --git a/scorch.asm b/scorch.asm index f8056b0..4fa5d1c 100644 --- a/scorch.asm +++ b/scorch.asm @@ -24,7 +24,7 @@ ; (direct writes to screen memory - atari only :) ) ;--------------------------------------------------- - ; OPT r+ ; saves 12 bytes, but does not work (yet): https://github.com/tebe6502/Mad-Assembler/issues/10 + OPT r+ ; saves 10 bytes, and probably work :) : https://github.com/tebe6502/Mad-Assembler/issues/10 ;--------------------------------------------------- .macro build diff --git a/scorch.bin b/scorch.bin index a1935b3..1b0c760 100644 Binary files a/scorch.bin and b/scorch.bin differ diff --git a/scorch.xex b/scorch.xex index e77a011..23f39f1 100644 Binary files a/scorch.xex and b/scorch.xex differ diff --git a/scorch_cart.xex b/scorch_cart.xex index b707a2e..14d74f4 100644 Binary files a/scorch_cart.xex and b/scorch_cart.xex differ