Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
HylianFreddy committed May 23, 2024
1 parent a51c23e commit 41d2574
Showing 1 changed file with 34 additions and 34 deletions.
68 changes: 34 additions & 34 deletions source/location_access/locacc_dodongos_cavern.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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, {},
Expand Down

0 comments on commit 41d2574

Please sign in to comment.