mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-20 22:33:43 +02:00
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:
+4
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user