]> git.localhorst.tv Git - alttp.git/commitdiff
fix aga DW access
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Mon, 1 Apr 2024 11:00:06 +0000 (13:00 +0200)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Mon, 1 Apr 2024 11:00:06 +0000 (13:00 +0200)
resources/js/helpers/logic.js

index de4da81cbb039fa99f3852e9abcf7c32014bd732..fa989f921c38a3ea5026c58371efb4c5c8348c5d 100644 (file)
@@ -263,13 +263,10 @@ const southLightWorld = eastLightWorld;
 
 const eastDarkWorld = when(isInverted,
        or(canFly, canSwim, hasHammer, and(hasMirror, eastLightWorld)),
-       and(
-               hasMoonpearl,
-               or(
-                       agaDead,
-                       canHeavyLift,
-                       and(canLift, hasHammer),
-               ),
+       or(
+               agaDead,
+               and(hasMoonpearl, canHeavyLift),
+               and(hasMoonpearl, canLift, hasHammer),
        ),
 );