Skip to content

Commit

Permalink
Mystery Milk bottle is not usable immediately
Browse files Browse the repository at this point in the history
Adjust the logic to require the Troupe Leader's Mask.  May need more
tweaks for entrance shuffle.
  • Loading branch information
jcallen committed Mar 7, 2024
1 parent b65bdfe commit 672d2ac
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions source/include/logic.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
9 changes: 6 additions & 3 deletions source/logic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand All @@ -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;
Expand Down Expand Up @@ -576,6 +578,7 @@ namespace Logic {
ArcheryBottle = false;
ChateauBottle = false;
MysteryMilkBottle = false;
UsableMysteryMilkBottle = false;
BombersNotebook = false;
MirrorShield = false;
HerosShield = false;
Expand Down

0 comments on commit 672d2ac

Please sign in to comment.