forked from PhlexPlexico/mm3dr
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor patches and hooks to be spread across more files. (#42)
This allows for better organization and locating patches/hooks instead of trying to find a patch in one large file. Adjust song of time reset for no swords to actually reset the sword on B when resetting a cycle.
- Loading branch information
1 parent
3944441
commit ffa1f85
Showing
13 changed files
with
538 additions
and
520 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
.arm | ||
|
||
.section .patch_OverrideFairyGiveItem | ||
.global OverrideFairyItemID_patch | ||
OverrideFairyItemID_patch: | ||
b hook_OverrideFairyItem | ||
|
||
.section .patch_OverrideGreatFairySpawn | ||
.global OverrideGreatFairySpawn_patch | ||
OverrideGreatFairySpawn_patch: | ||
nop | ||
@ldmia sp!,{r4 - r6, pc} | ||
@ldmia sp !, {r4 - r6, lr} | ||
@ bx lr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.arm | ||
|
||
.section .patch_HMSGiveItem | ||
.global patch_HMSGiveItem | ||
patch_HMSGiveItem: | ||
b hook_OverrideHMSDekuMask |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.