mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-21 06:39:40 +02:00
Now shield is displayed on a tank without PM
Small bugfix.
This commit is contained in:
+2
-2
@@ -690,6 +690,7 @@ ZeroesToGo
|
|||||||
sta (xbyte),y
|
sta (xbyte),y
|
||||||
dey
|
dey
|
||||||
bne ClearPM
|
bne ClearPM
|
||||||
|
NoPlayerMissile
|
||||||
; draw defensive weapons like shield ( tank number in X )
|
; draw defensive weapons like shield ( tank number in X )
|
||||||
; in xdraw, ydraw we have coordinates left LOWER corner of Tank char
|
; in xdraw, ydraw we have coordinates left LOWER corner of Tank char
|
||||||
lda ActiveDefenceWeapon,x
|
lda ActiveDefenceWeapon,x
|
||||||
@@ -697,7 +698,6 @@ ZeroesToGo
|
|||||||
bne NoShieldDraw
|
bne NoShieldDraw
|
||||||
jsr DrawTankShield
|
jsr DrawTankShield
|
||||||
NoShieldDraw
|
NoShieldDraw
|
||||||
NoPlayerMissile
|
|
||||||
DoNotDrawTankNr
|
DoNotDrawTankNr
|
||||||
rts
|
rts
|
||||||
.endp
|
.endp
|
||||||
@@ -737,7 +737,7 @@ tankflash_loop
|
|||||||
dec color
|
dec color
|
||||||
ShieldVisible
|
ShieldVisible
|
||||||
sbw xdraw #$03 ; 3 pixels to left
|
sbw xdraw #$03 ; 3 pixels to left
|
||||||
; draw left vertical line of scheld ( | )
|
; draw left vertical line of shield ( | )
|
||||||
mva #6 temp ; strange !!!
|
mva #6 temp ; strange !!!
|
||||||
@
|
@
|
||||||
jsr plot
|
jsr plot
|
||||||
|
|||||||
BIN
Binary file not shown.
Reference in New Issue
Block a user