]> git.localhorst.tv Git - alttp.git/blobdiff - resources/js/helpers/logic.js
alternative dungeon counting
[alttp.git] / resources / js / helpers / logic.js
index 522561336342cc2b4ce2e5c36332958e2699db88..fa989f921c38a3ea5026c58371efb4c5c8348c5d 100644 (file)
@@ -262,14 +262,11 @@ const westLightWorld = eastLightWorld;
 const southLightWorld = eastLightWorld;
 
 const eastDarkWorld = when(isInverted,
-       or(canFly, canSwim, hasHammer, and(hasMoonpearl, eastLightWorld)),
-       and(
-               hasMoonpearl,
-               or(
-                       agaDead,
-                       canHeavyLift,
-                       and(canLift, hasHammer),
-               ),
+       or(canFly, canSwim, hasHammer, and(hasMirror, eastLightWorld)),
+       or(
+               agaDead,
+               and(hasMoonpearl, canHeavyLift),
+               and(hasMoonpearl, canLift, hasHammer),
        ),
 );
 
@@ -707,7 +704,7 @@ Logic.open = {
        brewery: fromBool(and(westDarkWorld, canBomb, hasMoonpearl)),
        'bumper-cave': fromBool(and(westDarkWorld, hasMoonpearl, canLift, hasCape)),
        'c-house': fromBool(and(westDarkWorld, hasMoonpearl)),
-       catfish: fromBool(and(eastDarkWorld, hasMoonpearl)),
+       catfish: fromBool(and(eastDarkWorld, hasMoonpearl, canLift)),
        'cave-45': fromBool(and(southDarkWorld, hasMirror)),
        checkerboard: fromBool(and(mireArea, hasMirror)),
        'chest-game': fromBool(and(westDarkWorld, hasMoonpearl)),