diff --git a/ai.asm b/ai.asm index 3389f0c..58e44ac 100644 --- a/ai.asm +++ b/ai.asm @@ -435,6 +435,7 @@ HighForce ; jsr MakeLowResDistances lda #202 sta temp2 ; max possible energy + stx temp2+1 ; set target tank to himself (if it doesn't find targets - Long Shlong :) ) lda #0 sta tempor2 ; direction of shoot ;ldx TankNr @@ -446,7 +447,9 @@ loop01 beq skipThisPlayer lda eXistenZ,y beq skipThisPlayer - + lda BarrelLength,y + cmp #LongBarrel ; if target has Long Schlong do not aim + beq skipThisPlayer lda skilltable,y beq ItIsHuman lda PreferHumansFlag @@ -493,6 +496,7 @@ skipThisPlayer ;---------------------------------------------- ; jsr MakeLowResDistances mva #$ff temp2 ; min possible distance + stx temp2+1 ; set target tank to himself (if it doesn't find targets - Long Shlong :) ) mva #0 tempor2 ; direction of shoot ;ldx TankNr @@ -504,6 +508,9 @@ loop01 beq skipThisPlayer lda eXistenZ,y beq skipThisPlayer + lda BarrelLength,y + cmp #LongBarrel ; if target has Long Schlong do not aim + beq skipThisPlayer lda LowResDistances,x cmp LowResDistances,y diff --git a/scorch.asm b/scorch.asm index e44c725..935389e 100644 --- a/scorch.asm +++ b/scorch.asm @@ -26,7 +26,7 @@ ;--------------------------------------------------- .macro build - dta d"1.33" ; number of this build (4 bytes) + dta d"1.35" ; number of this build (4 bytes) .endm .macro RMTSong diff --git a/scorch.bin b/scorch.bin index 6662f3d..b30c867 100644 Binary files a/scorch.bin and b/scorch.bin differ diff --git a/scorch.xex b/scorch.xex index 7947eb6..4a77174 100644 Binary files a/scorch.xex and b/scorch.xex differ