mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-12-27 02:31:00 +00:00
ootw: fix bug where the door limits were only calculated at beginning
this doesn't work if we're falling and so no doors are on our Y so re-call the room-limit routine once we land
This commit is contained in:
parent
6356acb5f3
commit
8aa63389e1
@ -118,6 +118,10 @@ wait_loop:
|
|||||||
jmp ootw
|
jmp ootw
|
||||||
|
|
||||||
|
|
||||||
|
; hack, we don't have doors in l1
|
||||||
|
recalc_walk_collision:
|
||||||
|
rts
|
||||||
|
|
||||||
end_message:
|
end_message:
|
||||||
.byte 8,10,"PRESS RETURN TO CONTINUE",0
|
.byte 8,10,"PRESS RETURN TO CONTINUE",0
|
||||||
.byte 11,20,"ACCESS CODE: IH8S",0
|
.byte 11,20,"ACCESS CODE: IH8S",0
|
||||||
|
@ -515,6 +515,8 @@ fall_down_destination_smc:
|
|||||||
bne still_falling_down
|
bne still_falling_down
|
||||||
done_falling_down:
|
done_falling_down:
|
||||||
|
|
||||||
|
jsr recalc_walk_collision
|
||||||
|
|
||||||
lda #P_CROUCHING
|
lda #P_CROUCHING
|
||||||
sta PHYSICIST_STATE
|
sta PHYSICIST_STATE
|
||||||
jmp physicist_crouching
|
jmp physicist_crouching
|
||||||
|
Loading…
Reference in New Issue
Block a user