Skip to content

Commit

Permalink
Fix: Ensure skulltula tokens are not reset after SoT. (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
PhlexPlexico authored Aug 2, 2024
1 parent 0e1b134 commit d3e352f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/mm.ld
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,10 @@ SECTIONS{
*(.patch_DoNotRemoveTradeItems)
}

.patch_DoNotRemoveSkulltulaTokens 0x1C9B60 : {
*(.patch_DoNotRemoveSkulltulaTokens)
}

.patch_DoNotRemoveKeys 0x1C9B94 : {
*(.patch_DoNotRemoveKeys)
}
Expand Down
5 changes: 5 additions & 0 deletions code/source/asm/save_patches.s
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
.arm

.section .patch_DoNotRemoveSkulltulaTokens
.global patch_DoNotRemoveSkulltulaTokens
patch_DoNotRemoveSkulltulaTokens:
str r4,[r5,#0x1F0]

.section .patch_UpdateBossLairExtData
.global patch_UpdateBossLairExtData
patch_UpdateBossLairExtData:
Expand Down

0 comments on commit d3e352f

Please sign in to comment.