summaryrefslogtreecommitdiff
path: root/soh/src/code
diff options
context:
space:
mode:
authorReppan <72985260+Jepvid@users.noreply.github.com>2026-04-17 15:22:57 +0200
committerGitHub <noreply@github.com>2026-04-17 13:22:57 +0000
commit4587ca6dbe39e75d405a2c96fcfdb04a0a816a7a (patch)
tree533a32403c6f16b098a1bdbbb0ec0b330659f422 /soh/src/code
parentaedae12e6324285608d6fc3bc4c23896156d1ff2 (diff)
Horseback archery settings (#6517)
Diffstat (limited to 'soh/src/code')
-rw-r--r--soh/src/code/z_parameter.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/soh/src/code/z_parameter.c b/soh/src/code/z_parameter.c
index 4b782d954..884114369 100644
--- a/soh/src/code/z_parameter.c
+++ b/soh/src/code/z_parameter.c
@@ -1711,7 +1711,9 @@ void Interface_InitHorsebackArchery(PlayState* play) {
gSaveContext.minigameState = 1;
interfaceCtx->unk_23C = interfaceCtx->unk_240 = interfaceCtx->unk_242 = 0;
gSaveContext.minigameScore = sHBAScoreTier = 0;
- interfaceCtx->hbaAmmo = 20;
+ if (GameInteractor_Should(VB_SET_HORSEBACK_ARCHERY_AMMO, true, interfaceCtx)) {
+ interfaceCtx->hbaAmmo = 20;
+ }
}
void func_800849EC(PlayState* play) {