Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove quiver restrictions when giving items in archery mini games. #95

Merged
merged 1 commit into from
Sep 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions code/mm.ld
Original file line number Diff line number Diff line change
Expand Up @@ -483,10 +483,18 @@ SECTIONS{
*(.patch_OverrideWalletSpiderHouse)
}

.patch_OverrideArcheryTownQuiverLimit 0x3E50B8 : {
*(.patch_OverrideArcheryTownQuiverLimit)
}

.patch_OverrideQuiverArcheryTown 0x3E50E4 : {
*(.patch_OverrideQuiverArchery)
}

.patch_OverrideArcheryTownQuiverLimitTwo 0x3EA278 : {
*(.patch_OverrideArcheryTownQuiverLimitTwo)
}

.patch_OverrideQuiverArcherySwamp 0x3EA2B0 : {
*(.patch_OverrideQuiverArcheryTwo)
}
Expand Down
10 changes: 10 additions & 0 deletions code/source/asm/item_override_patches.s
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,21 @@ patch_RemoveGoronMaskCheckDarmani:
patch_CheckOshExtData:
bl hook_CheckOshExtData

.section .patch_OverrideArcheryTownQuiverLimit
.global patch_OverrideArcheryTownQuiverLimit
patch_OverrideArcheryTownQuiverLimit:
nop

.section .patch_OverrideQuiverArchery
.global patch_OverrideQuiverArchery
patch_OverrideQuiverArchery:
mov r2,#0x47

.section .patch_OverrideArcheryTownQuiverLimitTwo
.global patch_OverrideArcheryTownQuiverLimitTwo
patch_OverrideArcheryTownQuiverLimitTwo:
nop

.section .patch_OverrideQuiverArcheryTwo
.global patch_OverrideQuiverArcheryTwo
patch_OverrideQuiverArcheryTwo:
Expand Down
Loading