mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-21 06:39:40 +02:00
seppuku always kills
This commit is contained in:
+12
-1
@@ -430,12 +430,13 @@ ShootNow
|
|||||||
|
|
||||||
lda HitFlag ;0 if missed
|
lda HitFlag ;0 if missed
|
||||||
beq missed
|
beq missed
|
||||||
Seppuku
|
|
||||||
lda #0
|
lda #0
|
||||||
sta FallDown1
|
sta FallDown1
|
||||||
sta FallDown2
|
sta FallDown2
|
||||||
jsr Explosion
|
jsr Explosion
|
||||||
|
|
||||||
|
continueMainRoundLoopAfterSeppuku
|
||||||
;here we clear offensive text (after a shoot)
|
;here we clear offensive text (after a shoot)
|
||||||
ldy TankNr
|
ldy TankNr
|
||||||
mva #0 plot4x4color
|
mva #0 plot4x4color
|
||||||
@@ -562,6 +563,16 @@ NoPlayerNoDeath
|
|||||||
; if processor is here it means there are no more explosions
|
; if processor is here it means there are no more explosions
|
||||||
jmp MainRoundLoop
|
jmp MainRoundLoop
|
||||||
.endp
|
.endp
|
||||||
|
|
||||||
|
;---------------------------------
|
||||||
|
.proc Seppuku
|
||||||
|
lda #0
|
||||||
|
sta FallDown1
|
||||||
|
sta FallDown2
|
||||||
|
lda #1
|
||||||
|
jsr ExplosionDirect
|
||||||
|
jmp continueMainRoundLoopAfterSeppuku
|
||||||
|
.endp
|
||||||
;---------------------------------
|
;---------------------------------
|
||||||
PlayerXdeath .proc
|
PlayerXdeath .proc
|
||||||
|
|
||||||
|
|||||||
BIN
Binary file not shown.
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
.IF *>0 ;this is a trick that prevents compiling this file alone
|
.IF *>0 ;this is a trick that prevents compiling this file alone
|
||||||
;--------------------------------------------------
|
;--------------------------------------------------
|
||||||
Explosion .proc
|
.proc Explosion
|
||||||
;--------------------------------------------------
|
;--------------------------------------------------
|
||||||
;cleanup of the soil fall down ranges (left and right)
|
;cleanup of the soil fall down ranges (left and right)
|
||||||
mwa #screenwidth RangeLeft
|
mwa #screenwidth RangeLeft
|
||||||
|
|||||||
Reference in New Issue
Block a user