Hovercraft landing fix

This commit is contained in:
Pecusx
2023-05-29 22:23:53 +02:00
parent bfe0b41776
commit 09f05f783e
3 changed files with 5 additions and 1 deletions
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+5 -1
View File
@@ -1059,7 +1059,7 @@ EndOfTheDirt
mva #36 ExplosionRadius mva #36 ExplosionRadius
jsr CalculateExplosionRange jsr CalculateExplosionRange
mva #sfx_dirt_chrg_s sfx_effect mva #sfx_baby_missile sfx_effect
mva #15 ExplosionRadius mva #15 ExplosionRadius
; Hoop ; Hoop
@@ -2857,7 +2857,11 @@ CheckCollisionWithTankLoop
tay tay
lda xtankstableH,x lda xtankstableH,x
sbc #0 sbc #0
bpl GreaterThanZero
; bmi ShieldOverLeftEdge ; I do not know whether to check it. Probably not :) !!! ; bmi ShieldOverLeftEdge ; I do not know whether to check it. Probably not :) !!!
ldy #0
tya
GreaterThanZero
cmp xdraw+1 cmp xdraw+1
bne @+ bne @+
cpy xdraw cpy xdraw