From a40b7180d925042def3f3e26af6ba8265eba8706 Mon Sep 17 00:00:00 2001 From: Garrett Cox Date: Fri, 4 Nov 2022 20:37:16 -0500 Subject: [PATCH] handle keyrings on sohStats (#1911) --- soh/src/code/z_parameter.c | 1 + 1 file changed, 1 insertion(+) 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 {