summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mm/2s2h/Rando/Logic/Logic.h2
-rw-r--r--mm/2s2h/Rando/MiscBehavior/OnFileCreate.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/mm/2s2h/Rando/Logic/Logic.h b/mm/2s2h/Rando/Logic/Logic.h
index f759cd51b..aeec62449 100644
--- a/mm/2s2h/Rando/Logic/Logic.h
+++ b/mm/2s2h/Rando/Logic/Logic.h
@@ -98,7 +98,7 @@ extern std::unordered_map<RandoRegionId, RandoRegion> Regions;
#define FOUND_ALL_FROGS \
(CHECK_WEEKEVENTREG(WEEKEVENTREG_33_01) && CHECK_WEEKEVENTREG(WEEKEVENTREG_32_40) && \
CHECK_WEEKEVENTREG(WEEKEVENTREG_32_80) && CHECK_WEEKEVENTREG(WEEKEVENTREG_33_02))
-#define CAN_USE_ABILITY(ability) (Flags_GetRandoInf(RI_ABILITY_##ability - RI_ABILITY_SWIM + RANDO_INF_OBTAINED_SWIM))
+#define CAN_USE_ABILITY(ability) Flags_GetRandoInf(RI_ABILITY_##ability - RI_ABILITY_SWIM + RANDO_INF_OBTAINED_SWIM)
#define EVENT(randoEvent, condition) \
{ \
diff --git a/mm/2s2h/Rando/MiscBehavior/OnFileCreate.cpp b/mm/2s2h/Rando/MiscBehavior/OnFileCreate.cpp
index 21dd965e6..25041eee6 100644
--- a/mm/2s2h/Rando/MiscBehavior/OnFileCreate.cpp
+++ b/mm/2s2h/Rando/MiscBehavior/OnFileCreate.cpp
@@ -255,6 +255,8 @@ void Rando::MiscBehavior::OnFileCreate(s16 fileNum) {
if (RANDO_SAVE_OPTIONS[RO_SHUFFLE_SWIM] == RO_GENERIC_YES) {
itemPool.push_back(RI_ABILITY_SWIM);
+ } else {
+ Flags_SetRandoInf(RANDO_INF_OBTAINED_SWIM);
}
// Remove starting items from the pool (but only one per entry in startingItems)