From 72e8d73277d03be4ef99335f11288223e841004e Mon Sep 17 00:00:00 2001 From: aerinon Date: Thu, 2 Mar 2023 16:21:02 -0700 Subject: [PATCH] Fix for lower layer blocked doors in standard --- doorrando/entrance_fixes.asm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doorrando/entrance_fixes.asm b/doorrando/entrance_fixes.asm index faf42f6..ea5223a 100644 --- a/doorrando/entrance_fixes.asm +++ b/doorrando/entrance_fixes.asm @@ -30,6 +30,9 @@ warnpc $018939 org $01BF43 JSL AdjustEscapeDoorCollision +org $01C132 ; ADC.w #$0040 : TAX : LDA.b $00 + JSL AdjustEscapeDoorCollision_LowEntrance : NOP #2 + pullpc ;=================================================================================================== @@ -211,6 +214,7 @@ BlockedEntrance: AdjustEscapeDoorCollision: LSR ; vanilla shift +AdjustEscapeDoorCollisionShared: ; save our parameters ; but one or both of these may not be necessary depending on how you detect these doors ; all that matters is that after identifying blockage, we have: @@ -236,6 +240,10 @@ AdjustEscapeDoorCollision: RTL +AdjustEscapeDoorCollision_LowEntrance: + ADC.w #$0040 ; vanilla add + JMP AdjustEscapeDoorCollisionShared + ;=================================================================================================== ; Enter with: