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
+7 -7
View File
@@ -744,16 +744,16 @@ ldahashzero
NotNegativeEnergy
sta Energy,x
;now increase the gain of the shooting tank
phx
ldx TankNr
; phx
ldy TankNr
clc
lda gainL,x
lda gainL,y
adc EnergyDecrease
sta gainL,x
lda gainH,x
sta gainL,y
lda gainH,y
adc #$00
sta gainH,x
plx
sta gainH,y
; plx
rts
.endp