From 41d2574487a69bad5330b3e5afba9a28e1c59d4f Mon Sep 17 00:00:00 2001 From: HylianFreddy <82058772+HylianFreddy@users.noreply.github.com> Date: Thu, 23 May 2024 21:42:42 +0200 Subject: [PATCH] Formatting --- .../locacc_dodongos_cavern.cpp | 68 +++++++++---------- 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/source/location_access/locacc_dodongos_cavern.cpp b/source/location_access/locacc_dodongos_cavern.cpp index 304ae9d3..61a6cd2a 100644 --- a/source/location_access/locacc_dodongos_cavern.cpp +++ b/source/location_access/locacc_dodongos_cavern.cpp @@ -124,40 +124,40 @@ void AreaTable_Init_DodongosCavern() { Entrance(DODONGOS_CAVERN_DODONGO_ROOM, { [] { return true; } }), }); - areaTable[DODONGOS_CAVERN_SE_CORRIDOR] = Area( - "Dodongos Cavern SE Corridor", "Dodongos Cavern", DODONGOS_CAVERN, NO_DAY_NIGHT_CYCLE, {}, - { - // Locations - LocationAccess(DODONGOS_CAVERN_GS_SCARECROW, - { [] { - return CanUse(SCARECROW) || (IsAdult && CanUse(LONGSHOT)) || - (LogicDCScarecrowGS && (CanAdultAttack || CanChildAttack)); - }, - /*Glitched*/ - [] { - return CanDoGlitch(GlitchType::BombHover, GlitchDifficulty::INTERMEDIATE) || - (CanUse(LONGSHOT) && - CanDoGlitch(GlitchType::ISG, GlitchDifficulty::INTERMEDIATE)); - } }), - }, - { - // Exits - Entrance(DODONGOS_CAVERN_LOBBY, { [] { return true; } }), - Entrance(DODONGOS_CAVERN_SE_ROOM, - { [] { - return Here(DODONGOS_CAVERN_SE_CORRIDOR, [] { - return CanBlastOrSmash || - ((SoulDodongo || ShuffleEnemySouls.IsNot(SHUFFLEENEMYSOULS_ALL)) && - (CanAdultAttack || CanChildAttack || (CanTakeDamage && CanShield))); - }); - }, - /*Glitched*/ - [] { - return Here(DODONGOS_CAVERN_SE_CORRIDOR, - [] { return (GlitchBlueFireWall && BlueFire); }); - } }), - Entrance(DODONGOS_CAVERN_NEAR_LOWER_LIZALFOS, { [] { return true; } }), - }); + areaTable[DODONGOS_CAVERN_SE_CORRIDOR] = + Area("Dodongos Cavern SE Corridor", "Dodongos Cavern", DODONGOS_CAVERN, NO_DAY_NIGHT_CYCLE, {}, + { + // Locations + LocationAccess(DODONGOS_CAVERN_GS_SCARECROW, + { [] { + return CanUse(SCARECROW) || (IsAdult && CanUse(LONGSHOT)) || + (LogicDCScarecrowGS && (CanAdultAttack || CanChildAttack)); + }, + /*Glitched*/ + [] { + return CanDoGlitch(GlitchType::BombHover, GlitchDifficulty::INTERMEDIATE) || + (CanUse(LONGSHOT) && + CanDoGlitch(GlitchType::ISG, GlitchDifficulty::INTERMEDIATE)); + } }), + }, + { + // Exits + Entrance(DODONGOS_CAVERN_LOBBY, { [] { return true; } }), + Entrance(DODONGOS_CAVERN_SE_ROOM, + { [] { + return Here(DODONGOS_CAVERN_SE_CORRIDOR, [] { + return CanBlastOrSmash || + ((SoulDodongo || ShuffleEnemySouls.IsNot(SHUFFLEENEMYSOULS_ALL)) && + (CanAdultAttack || CanChildAttack || (CanTakeDamage && CanShield))); + }); + }, + /*Glitched*/ + [] { + return Here(DODONGOS_CAVERN_SE_CORRIDOR, + [] { return (GlitchBlueFireWall && BlueFire); }); + } }), + Entrance(DODONGOS_CAVERN_NEAR_LOWER_LIZALFOS, { [] { return true; } }), + }); areaTable[DODONGOS_CAVERN_SE_ROOM] = Area("Dodongos Cavern SE Room", "Dodongos Cavern", DODONGOS_CAVERN, NO_DAY_NIGHT_CYCLE, {},