From 268a5d001b0ab6de43790033f2eb222b163ed0e3 Mon Sep 17 00:00:00 2001 From: Jeimuzu277 <86028332+Jeimuzu277@users.noreply.github.com> Date: Mon, 23 Sep 2024 20:05:56 -0500 Subject: [PATCH] Added Link's House Exception --- LockedDoorsRainstate.asm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/LockedDoorsRainstate.asm b/LockedDoorsRainstate.asm index 119bd6c..e0be014 100644 --- a/LockedDoorsRainstate.asm +++ b/LockedDoorsRainstate.asm @@ -16,6 +16,20 @@ CheckDoorlock: ; 16 bit STZ $0692 + LDA.b $20 : CMP.w #$0928 : BCC .ytoolow + CMP.w #$09A8 : BCS .ytoohigh + LDA.b $22 : CMP.w #$0810 : BCC .xtoolow + CMP.w #$0880 : BCS .xtoohigh + + LDA #$0DA4 + JSL $1BC97C ; Overworld_DrawPersistentMap16 + LDA.w #$0018 : STA $0692 + JML NotLocked + .ytoolow + .ytoohigh + .xtoolow + .xtoohigh + LDA $7EF3C5 : AND.w #$000F : BEQ .lockedDoor LDA #$0DA4 JSL $1BC97C ; Overworld_DrawPersistentMap16