From 7eb5acf22499e80f80ec006402ba68b6a0fa2f89 Mon Sep 17 00:00:00 2001 From: Pepper0ni <93387759+Pepper0ni@users.noreply.github.com> Date: Sat, 14 Feb 2026 19:04:50 +0000 Subject: [PATCH] Fix wrong logic var in spirit shared (#6254) --- soh/soh/Enhancements/randomizer/location_access.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soh/soh/Enhancements/randomizer/location_access.cpp b/soh/soh/Enhancements/randomizer/location_access.cpp index 72338173b..7e1750fa3 100644 --- a/soh/soh/Enhancements/randomizer/location_access.cpp +++ b/soh/soh/Enhancements/randomizer/location_access.cpp @@ -756,7 +756,7 @@ bool SpiritCertainAccess(RandomizerRegion region) { // If we have enough keys that an age cannot be kept out, we have Certain Access // otherwise if we have entered in reverse and can reach from the face, we have Certain Access return ((knownFrontAccess && curRegionData.adultAccess()) && logic->SmallKeys(SCENE_SPIRIT_TEMPLE, keys)) || - ((logic->Get(LOGIC_FORWARDS_SPIRIT_ADULT) && curRegionData.reverseAccess()) && + ((logic->Get(LOGIC_REVERSE_SPIRIT_ADULT) && curRegionData.reverseAccess()) && logic->SmallKeys(SCENE_SPIRIT_TEMPLE, revKeys)) || (curRegionData.adultAccess() && curRegionData.reverseAccess() && logic->SmallKeys(SCENE_SPIRIT_TEMPLE, keys > revKeys ? keys : revKeys));