From 672d2acb51483df5a4da9822f29fe09ec0a2a7a2 Mon Sep 17 00:00:00 2001 From: Jonathan Callen Date: Mon, 4 Mar 2024 23:58:48 -0500 Subject: [PATCH] Mystery Milk bottle is not usable immediately Adjust the logic to require the Troupe Leader's Mask. May need more tweaks for entrance shuffle. --- source/include/logic.hpp | 1 + source/logic.cpp | 9 ++++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/source/include/logic.hpp b/source/include/logic.hpp index 9f4f9eb..d7a7dda 100644 --- a/source/include/logic.hpp +++ b/source/include/logic.hpp @@ -40,6 +40,7 @@ namespace Logic { extern bool ArcheryBottle; extern bool ChateauBottle; extern bool MysteryMilkBottle; + extern bool UsableMysteryMilkBottle; extern bool BombersNotebook; extern bool MirrorShield; extern bool HerosShield; diff --git a/source/logic.cpp b/source/logic.cpp index af8141d..c8ac18a 100644 --- a/source/logic.cpp +++ b/source/logic.cpp @@ -48,6 +48,7 @@ namespace Logic { bool ArcheryBottle = false; bool ChateauBottle = false; bool MysteryMilkBottle = false; + bool UsableMysteryMilkBottle = false; bool BombersNotebook = false; bool MirrorShield = false; bool HerosShield = false; @@ -496,7 +497,8 @@ namespace Logic { //Item Helpers AnyMagicBean = MagicBean || LimitlessBeans; AnyWallet = Townwallet200 || OceanWallet500 || (ProgressiveWallet >= 1); - AnyBottle = WitchBottle || AlienBottle || BeaverRaceBottle || ArcheryBottle || GoronRaceBottle || ChateauBottle || MysteryMilkBottle || HasBottle; + UsableMysteryMilkBottle = MysteryMilkBottle && CircusLeadersMask; + AnyBottle = WitchBottle || AlienBottle || BeaverRaceBottle || ArcheryBottle || GoronRaceBottle || ChateauBottle || UsableMysteryMilkBottle || HasBottle; MagicMeter = (ProgressiveMagic >= 1) || MagicPower || ExtendedMagicPower; WaterForBeans = (AnyBottle && (SpringWater || HotSpringWater)) || SongOfStorms; Scarecrow = Hookshot && CanPlay(ScarecrowSong); @@ -520,8 +522,8 @@ namespace Logic { (AlienBottle && BeaverRaceBottle) || (AlienBottle && ArcheryBottle) || (AlienBottle && ChateauBottle) || (GoronRaceBottle && BeaverRaceBottle) || (GoronRaceBottle && ArcheryBottle) || (GoronRaceBottle && ChateauBottle) || (BeaverRaceBottle && ArcheryBottle) || (BeaverRaceBottle && ChateauBottle) || (ArcheryBottle && ChateauBottle) || - (WitchBottle && MysteryMilkBottle) || (AlienBottle && MysteryMilkBottle) || (BeaverRaceBottle && MysteryMilkBottle) || - (ArcheryBottle && MysteryMilkBottle) || (GoronRaceBottle && MysteryMilkBottle) || (ChateauBottle && MysteryMilkBottle)}; + (WitchBottle && UsableMysteryMilkBottle) || (AlienBottle && UsableMysteryMilkBottle) || (BeaverRaceBottle && UsableMysteryMilkBottle) || + (ArcheryBottle && UsableMysteryMilkBottle) || (GoronRaceBottle && UsableMysteryMilkBottle) || (ChateauBottle && UsableMysteryMilkBottle)}; //Tricks PoisonWaterAsZora = ZoraMask && TakeDamage; @@ -576,6 +578,7 @@ namespace Logic { ArcheryBottle = false; ChateauBottle = false; MysteryMilkBottle = false; + UsableMysteryMilkBottle = false; BombersNotebook = false; MirrorShield = false; HerosShield = false;