Funky Bomb soildown fix.

This commit is contained in:
Pecusx
2022-11-12 20:51:05 +01:00
parent 01629b219f
commit b8e3f16d23
3 changed files with 3 additions and 2 deletions
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+3 -2
View File
@@ -152,8 +152,8 @@ EndOfLeapping
jsr SoilDown2 jsr SoilDown2
; ;
jsr cleartanks ; maybe not? jsr cleartanks ; maybe not?
sta FunkyWallFlag
mva #1 color mva #1 color
sta FunkyWallFlag
mva #5 FunkyBombCounter mva #5 FunkyBombCounter
FunkyBombLoop FunkyBombLoop
mva #1 tracerflag mva #1 tracerflag
@@ -172,7 +172,8 @@ FunkyBombLoop
mwa ytrajfb ytraj+1 mwa ytrajfb ytraj+1
mva #sfx_funky_hit sfx_effect mva #sfx_funky_hit sfx_effect
jsr Flight jsr Flight
mva #1 ExplosionRadius ; if no explosion (off screen)
jsr CalculateExplosionRange ; add end of flight coordinates to soildown range
lda HitFlag lda HitFlag
beq NoExplosionInFunkyBomb beq NoExplosionInFunkyBomb
mva #sfx_baby_missile sfx_effect mva #sfx_baby_missile sfx_effect