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 .endp
;-------------------------------------------------- ;--------------------------------------------------
circle .proc ;fxxxing good circle drawing :) .proc circle ;fxxxing good circle drawing :)
;-------------------------------------------------- ;--------------------------------------------------
;Turbo Basic source ;Turbo Basic source
; R=30 ; R=30
+9
View File
@@ -560,6 +560,15 @@ NoPlayerNoDeath
lda #0 lda #0
sta FallDown1 sta FallDown1
sta FallDown2 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 lda #1 ; Missile
jsr ExplosionDirect jsr ExplosionDirect
jmp MainRoundLoop.continueMainRoundLoopAfterSeppuku jmp MainRoundLoop.continueMainRoundLoopAfterSeppuku
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -128,7 +128,7 @@ xtankstableH
.DS [MaxPlayers] .DS [MaxPlayers]
ytankstable ;Y positions of tanks (lower left point) ytankstable ;Y positions of tanks (lower left point)
.DS [MaxPlayers] .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] .DS [MaxPlayers]
;----------------------------------- ;-----------------------------------
Erase .DS 1 ; if 1 only mask of the character is printed Erase .DS 1 ; if 1 only mask of the character is printed
+2 -4
View File
@@ -13,7 +13,7 @@
ldx TankNr ldx TankNr
lda ActiveWeapon,x lda ActiveWeapon,x
.endp .endp
ExplosionDirect .proc .proc ExplosionDirect
asl asl
tax tax
lda ExplosionRoutines+1,x lda ExplosionRoutines+1,x
@@ -657,9 +657,7 @@ DistanceCheckLoop
;multiply difference by 8 ;multiply difference by 8
clc clc
adc #1 adc #1
asl :3 asl
asl
asl
tay tay
jsr DecreaseEnergyX jsr DecreaseEnergyX