All 3 tank shapes visible
This commit is contained in:
@@ -7,6 +7,8 @@
|
|||||||
;===================================================================================
|
;===================================================================================
|
||||||
TankColoursTable .BYTE $86,$46,$c6,$28,$c6,$ee
|
TankColoursTable .BYTE $86,$46,$c6,$28,$c6,$ee
|
||||||
TankStatusColoursTable .BYTE $80,$40,$c4,$20,$c0,$e4
|
TankStatusColoursTable .BYTE $80,$40,$c4,$20,$c0,$e4
|
||||||
|
TankShapesTable .BYTE char_tank1___________,char_tank2___________,char_tank3___________
|
||||||
|
.BYTE char_tank1___________,char_tank2___________,char_tank3___________
|
||||||
dliColorsBack
|
dliColorsBack
|
||||||
:10 .by $02,$00
|
:10 .by $02,$00
|
||||||
dliColorsFore
|
dliColorsFore
|
||||||
|
|||||||
+2
-7
@@ -631,12 +631,7 @@ No6thTankHide
|
|||||||
SkipHidingPM
|
SkipHidingPM
|
||||||
|
|
||||||
|
|
||||||
ldy #char_tank2___________ ; left tank
|
ldy TankShapesTable,x
|
||||||
txa
|
|
||||||
and #$01
|
|
||||||
beq FirstTankShape
|
|
||||||
ldy #char_tank3___________ ; left tank (second shape)
|
|
||||||
FirstTankShape
|
|
||||||
lda AngleTable,x
|
lda AngleTable,x
|
||||||
cmp #91 ; left or right tank shape
|
cmp #91 ; left or right tank shape
|
||||||
bcs LeftTank
|
bcs LeftTank
|
||||||
@@ -1999,7 +1994,7 @@ YangleUnder90
|
|||||||
; 2. add vx and vy to 3 byte variables xdraw.fx, ydraw.fy
|
; 2. add vx and vy to 3 byte variables xdraw.fx, ydraw.fy
|
||||||
; 3 check length, if shorter, go to 1.
|
; 3 check length, if shorter, go to 1.
|
||||||
|
|
||||||
mva #5 yc ; barrel length
|
mva #6 yc ; barrel length
|
||||||
barrelLoop
|
barrelLoop
|
||||||
|
|
||||||
lda goleft
|
lda goleft
|
||||||
|
|||||||
BIN
Binary file not shown.
Reference in New Issue
Block a user