Skip to content

Commit

Permalink
Adjust dungeon hooks to avoid possible crash on 3ds.
Browse files Browse the repository at this point in the history
  • Loading branch information
PhlexPlexico committed Dec 21, 2023
1 parent 7160c61 commit 571362a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/source/asm/hooks.s
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ hook_CheckDungeonItems:
ldr r1,[r1]
cmp r1,#0x1
pop {r0-r12, lr}
beq 0x233F60
beq 0x233F64
ldrh r2, [r2, #82]
bx lr

Expand All @@ -128,7 +128,7 @@ hook_CheckDungeonSmallKeys:
ldr r1,[r1]
cmp r1,#0x1
pop {r0-r12, lr}
beq 0x233F60
beq 0x233F64
ldrh r0, [r2, #0x52]
bx lr

Expand Down

0 comments on commit 571362a

Please sign in to comment.