handle keyrings on sohStats (#1911)

This commit is contained in:
Garrett Cox
2022-11-04 20:37:16 -05:00
committed by GitHub
parent 763f3a5760
commit a40b7180d9

View File

@@ -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 {