Slight change.

This commit is contained in:
Pecusx
2022-06-09 12:57:50 +02:00
parent 91b613f166
commit cf40bf905d
2 changed files with 4 additions and 1 deletions
BIN
View File
Binary file not shown.
+3
View File
@@ -1751,6 +1751,8 @@ ActiveDefence
sta textbuffer+40+13 sta textbuffer+40+13
; check shield energy and display it ; check shield energy and display it
ldx TankNr ldx TankNr
lda ActiveDefenceWeapon,x
beq NoDefenceWeapon
lda ShieldEnergy,x lda ShieldEnergy,x
beq NoShieldEnergy beq NoShieldEnergy
sta decimal ; displayed value sta decimal ; displayed value
@@ -1760,6 +1762,7 @@ ActiveDefence
jsr displaybyte jsr displaybyte
lda #$09 ; ) lda #$09 ; )
sta textbuffer+40+13 sta textbuffer+40+13
NoDefenceWeapon
NoShieldEnergy NoShieldEnergy
;========================= ;=========================