summaryrefslogtreecommitdiff
path: root/soh/src/code
diff options
context:
space:
mode:
authorGarrett Cox <garrettjcox@gmail.com>2022-11-04 20:37:16 -0500
committerGitHub <noreply@github.com>2022-11-04 21:37:16 -0400
commita40b7180d925042def3f3e26af6ba8265eba8706 (patch)
treed483a35c0d9899cc108f9374a2fbc8af69de75a4 /soh/src/code
parent763f3a5760cf2b54c5deb9540e5085ca3bf83c32 (diff)
handle keyrings on sohStats (#1911)
Diffstat (limited to 'soh/src/code')
-rw-r--r--soh/src/code/z_parameter.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/soh/src/code/z_parameter.c b/soh/src/code/z_parameter.c
index bbb50ccd9..ccede338e 100644
--- a/soh/src/code/z_parameter.c
+++ b/soh/src/code/z_parameter.c
@@ -2461,6 +2461,7 @@ u16 Randomizer_Item_Give(GlobalContext* globalCtx, GetItemEntry giEntry) {
return RG_NONE;
}
} else if ((item >= RG_FOREST_TEMPLE_KEY_RING) && (item <= RG_GANONS_CASTLE_KEY_RING)) {
+ gSaveContext.sohStats.dungeonKeys[mapIndex] = numOfKeysOnKeyring;
gSaveContext.inventory.dungeonKeys[mapIndex] = numOfKeysOnKeyring;
return RG_NONE;
} else {