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 668f5e7ba..93b9621bd 100644
--- a/mm/2s2h/Rando/MiscBehavior/OnFileCreate.cpp
+++ b/mm/2s2h/Rando/MiscBehavior/OnFileCreate.cpp
@@ -245,6 +245,10 @@ void Rando::MiscBehavior::OnFileCreate(s16 fileNum) {
}
}
+ if (RANDO_SAVE_OPTIONS[RO_SHUFFLE_SWIM] == RO_GENERIC_YES) {
+ itemPool.push_back(RI_ABILITY_SWIM);
+ }
+
// Remove starting items from the pool (but only one per entry in startingItems)
for (RandoItemId startingItem : startingItems) {
auto it = std::find(itemPool.begin(), itemPool.end(), startingItem);