mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-20 22:33:43 +02:00
Final Shields fix
Now shields are draw ONLY in DrawTankNr proc.
This commit is contained in:
+5
-5
@@ -723,6 +723,11 @@ ZeroesToGo6
|
||||
|
||||
NoPlayerMissile
|
||||
|
||||
ldy #$01
|
||||
lda Erase
|
||||
beq @+
|
||||
dey
|
||||
@ sty color
|
||||
; draw defensive weapons like shield ( tank number in X )
|
||||
; in xdraw, ydraw we have coordinates left LOWER corner of Tank char
|
||||
ldx TankNr
|
||||
@@ -803,11 +808,6 @@ tankflash_loop
|
||||
;
|
||||
; this proc change xdraw, ydraw and temp!
|
||||
;--------------------------------------------------
|
||||
mva #1 color
|
||||
lda erase
|
||||
beq ShieldVisible
|
||||
dec color
|
||||
ShieldVisible
|
||||
sbw xdraw #$03 ; 3 pixels to left
|
||||
; draw left vertical line of shield ( | )
|
||||
mva #6 temp ; strange !!!
|
||||
|
||||
Reference in New Issue
Block a user