Skip to content

Commit

Permalink
Added Link's House Exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeimuzu277 authored Sep 24, 2024
1 parent 0ebed40 commit 268a5d0
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions LockedDoorsRainstate.asm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 268a5d0

Please sign in to comment.