mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-08-15 08:27:41 +00:00
ootw: c3: fix bug where short drop in long vent would kill you
This commit is contained in:
@@ -326,6 +326,12 @@ done_vent_checky:
|
|||||||
bne done_falling
|
bne done_falling
|
||||||
fall_death:
|
fall_death:
|
||||||
|
|
||||||
|
; only die if fall is far enough?
|
||||||
|
; problem is two entrances to long shaft
|
||||||
|
lda GAIT
|
||||||
|
cmp #18
|
||||||
|
bcc done_falling ; blt
|
||||||
|
|
||||||
lda #1
|
lda #1
|
||||||
sta VENT_DEATH
|
sta VENT_DEATH
|
||||||
|
|
||||||
@@ -451,7 +457,7 @@ no_death_count:
|
|||||||
|
|
||||||
lda PHYSICIST_Y
|
lda PHYSICIST_Y
|
||||||
cmp #50
|
cmp #50
|
||||||
bcc done_check_bottom
|
bcc done_check_bottom ; blt
|
||||||
bmi done_check_bottom ; don't trigger if falling into level
|
bmi done_check_bottom ; don't trigger if falling into level
|
||||||
|
|
||||||
; we fell out the vent at the bottom!
|
; we fell out the vent at the bottom!
|
||||||
|
Reference in New Issue
Block a user