summaryrefslogtreecommitdiff
path: root/mm/2s2h/Rando/MiscBehavior/OnFileCreate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mm/2s2h/Rando/MiscBehavior/OnFileCreate.cpp')
-rw-r--r--mm/2s2h/Rando/MiscBehavior/OnFileCreate.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/mm/2s2h/Rando/MiscBehavior/OnFileCreate.cpp b/mm/2s2h/Rando/MiscBehavior/OnFileCreate.cpp
index a6f08ea32..c3d699b5e 100644
--- a/mm/2s2h/Rando/MiscBehavior/OnFileCreate.cpp
+++ b/mm/2s2h/Rando/MiscBehavior/OnFileCreate.cpp
@@ -73,6 +73,10 @@ void Rando::MiscBehavior::OnFileCreate(s16 fileNum) {
auto startingItems = Rando::GetStartingItemsFromConfig();
Rando::SetStartingItemsInSave(gSaveContext.save.shipSaveInfo.rando, startingItems);
+ // Persist SariaPriorityItems to the save
+ auto priorityItems = Rando::GetSariaPriorityItemsFromConfig();
+ Rando::SetSariaPriorityItemsInSave(gSaveContext.save.shipSaveInfo.rando, priorityItems);
+
std::vector<RandoCheckId> checkPool;
std::vector<RandoItemId> itemPool;
Rando::Logic::GeneratePools(gSaveContext.save.shipSaveInfo.rando, checkPool, itemPool);