Shield witch parachute added

Only for test.
Now all players has active Shield with energy (99) and witch parachute before game.
Alo added display name of active defensive weapon on statusbar, and some fixes.
This commit is contained in:
Pecusx
2022-06-09 09:46:09 +02:00
parent eace9eb5cf
commit 91b613f166
7 changed files with 60 additions and 16 deletions
+4 -2
View File
@@ -695,9 +695,11 @@ NoPlayerMissile
; draw defensive weapons like shield ( tank number in X )
; in xdraw, ydraw we have coordinates left LOWER corner of Tank char
lda ActiveDefenceWeapon,x
cmp #56 ; check one shot shield activation
cmp #56 ; one shot shield activation
beq ShieldDraw
cmp #58 ; check shield with energy activation
cmp #57 ; shield with energy and parachute activation
beq ShieldDraw
cmp #58 ; shield with energy activation
bne NoShieldDraw
ShieldDraw
jsr DrawTankShield.DrawInPosition