All 3 tank shapes visible

This commit is contained in:
Pecusx
2022-07-28 17:54:38 +02:00
parent 9df4a49abe
commit 4d090f1766
3 changed files with 4 additions and 7 deletions
+2
View File
@@ -7,6 +7,8 @@
;===================================================================================
TankColoursTable .BYTE $86,$46,$c6,$28,$c6,$ee
TankStatusColoursTable .BYTE $80,$40,$c4,$20,$c0,$e4
TankShapesTable .BYTE char_tank1___________,char_tank2___________,char_tank3___________
.BYTE char_tank1___________,char_tank2___________,char_tank3___________
dliColorsBack
:10 .by $02,$00
dliColorsFore
+2 -7
View File
@@ -631,12 +631,7 @@ No6thTankHide
SkipHidingPM
ldy #char_tank2___________ ; left tank
txa
and #$01
beq FirstTankShape
ldy #char_tank3___________ ; left tank (second shape)
FirstTankShape
ldy TankShapesTable,x
lda AngleTable,x
cmp #91 ; left or right tank shape
bcs LeftTank
@@ -1999,7 +1994,7 @@ YangleUnder90
; 2. add vx and vy to 3 byte variables xdraw.fx, ydraw.fy
; 3 check length, if shorter, go to 1.
mva #5 yc ; barrel length
mva #6 yc ; barrel length
barrelLoop
lda goleft
BIN
View File
Binary file not shown.