diff --git a/soh/soh/Enhancements/randomizer/context.cpp b/soh/soh/Enhancements/randomizer/context.cpp index 09a6b40d5..a81295bea 100644 --- a/soh/soh/Enhancements/randomizer/context.cpp +++ b/soh/soh/Enhancements/randomizer/context.cpp @@ -188,20 +188,8 @@ void Context::ItemReset() { } void Context::LocationReset() { - for (const RandomizerCheck il : allLocations) { - GetItemLocation(il)->RemoveFromPool(); - } - - for (const RandomizerCheck il : StaticData::dungeonRewardLocations) { - GetItemLocation(il)->RemoveFromPool(); - } - - for (const RandomizerCheck il : StaticData::GetGossipStoneLocations()) { - GetItemLocation(il)->RemoveFromPool(); - } - - for (const RandomizerCheck il : StaticData::GetStaticHintLocations()) { - GetItemLocation(il)->RemoveFromPool(); + for (auto& il : itemLocationTable) { + il.RemoveFromPool(); } }