mirror of
https://github.com/pkali/scorch_src.git
synced 2026-05-20 22:34:21 +02:00
All 3 tank shapes visible
This commit is contained in:
@@ -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
@@ -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
Binary file not shown.
Reference in New Issue
Block a user