AI optimisations

This commit is contained in:
Pecusx
2022-07-31 22:49:34 +02:00
parent 025afbce91
commit 6a0c3a91e9
5 changed files with 19 additions and 14 deletions
+3 -3
View File
@@ -764,8 +764,8 @@ ExplosionLoop2
;calculation
ldx NumberOfPlayers
dex
DistanceCheckLoop
dex
lda eXistenZ,x
jeq EndOfDistanceCheckLoop
;here the tank exist
@@ -838,8 +838,8 @@ UseShield
sta TankNr ; restore TankNr value :)
TankIsNotWithinTheRange
EndOfDistanceCheckLoop
txa
jne DistanceCheckLoop
dex
jpl DistanceCheckLoop
mva #sfx_silencer sfx_effect
rts
.endp