seppuku fix

This commit is contained in:
2022-05-30 07:12:10 -04:00
parent 9f1720e970
commit a556e50e53
5 changed files with 14 additions and 7 deletions
+1 -1
View File
@@ -272,7 +272,7 @@ EndOfDraw
.endp
;--------------------------------------------------
circle .proc ;fxxxing good circle drawing :)
.proc circle ;fxxxing good circle drawing :)
;--------------------------------------------------
;Turbo Basic source
; R=30
+9
View File
@@ -560,6 +560,15 @@ NoPlayerNoDeath
lda #0
sta FallDown1
sta FallDown2
sta ydraw+1
; get position of the tank
ldx TankNr
lda xtankstableL,x
sta xdraw
lda xtankstableH,x
sta xdraw+1
lda yTanksTable,x
sta ydraw
lda #1 ; Missile
jsr ExplosionDirect
jmp MainRoundLoop.continueMainRoundLoopAfterSeppuku
BIN
View File
Binary file not shown.
+2 -2
View File
@@ -128,11 +128,11 @@ xtankstableH
.DS [MaxPlayers]
ytankstable ;Y positions of tanks (lower left point)
.DS [MaxPlayers]
LowResDistances ; coarse stank positions divided by 4 (to be in just one byte)
LowResDistances ; coarse tank positions divided by 4 (to be in just one byte)
.DS [MaxPlayers]
;-----------------------------------
Erase .DS 1 ; if 1 only mask of the character is printed
; on the graphics screen. if 0 character is printed normally
; on the graphics screen. if 0 character is printed normally
;-----------------------------------
RangeLeft .DS 2 ;range of the soil to be fallen down
+2 -4
View File
@@ -13,7 +13,7 @@
ldx TankNr
lda ActiveWeapon,x
.endp
ExplosionDirect .proc
.proc ExplosionDirect
asl
tax
lda ExplosionRoutines+1,x
@@ -657,9 +657,7 @@ DistanceCheckLoop
;multiply difference by 8
clc
adc #1
asl
asl
asl
:3 asl
tay
jsr DecreaseEnergyX