Skip to content

Commit

Permalink
ISTT FIx (#76)
Browse files Browse the repository at this point in the history
Adds in missing Inverted Eyegore Room and changes requirements to need small keys to enter
  • Loading branch information
Tacoman369 authored Mar 15, 2024
1 parent 657004c commit e0e8322
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
1 change: 1 addition & 0 deletions source/include/keys.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -909,6 +909,7 @@ typedef enum {
STONE_TOWER_TEMPLE_INVERTED_ENTRANCE_DEATH_ARMOS_LEDGE,
STONE_TOWER_TEMPLE_PRE_GOMESS_ROOM,
STONE_TOWER_TEMPLE_GOMESS_ROOM,
STONE_TOWER_TEMPLE_INVERTED_EYEGORE_ROOM,
STONE_TOWER_TEMPLE_INVERTED_THIN_BRIDGE_ROOM,
STONE_TOWER_TEMPLE_PRE_BOSS_ROOM,
STONE_TOWER_TEMPLE_BOSS_ROOM,
Expand Down
17 changes: 15 additions & 2 deletions source/location_access.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2860,7 +2860,7 @@ void AreaTable_Init() {
{
//Exits
Entrance(STONE_TOWER_TEMPLE_UPDRAFT_ROOM, {[]{return true;}}),
Entrance(STONE_TOWER_TEMPLE_INVERTED_THIN_BRIDGE_ROOM, {[]{return Hookshot && InvertedChestSpawn;}}),
Entrance(STONE_TOWER_TEMPLE_INVERTED_EYEGORE_ROOM, {[]{return Hookshot && InvertedChestSpawn && SmallKeys(StoneTowerTempleKeys, 4);}}),
});

areaTable[STONE_TOWER_TEMPLE_UPDRAFT_ROOM] = Area("Inverted Stone Tower Temple Updraft Room", "Inverted Stone Tower Temple Updraft Room", STONE_TOWER_TEMPLE, {
Expand Down Expand Up @@ -2979,6 +2979,18 @@ void AreaTable_Init() {
Entrance(STONE_TOWER_TEMPLE_PRE_GOMESS_ROOM, {[]{return LightArrows && Bow && MagicMeter;}}),
});

areaTable[STONE_TOWER_TEMPLE_INVERTED_EYEGORE_ROOM] = Area("Inverted Stone Tower Eyegore Room", "Inverted Stone Tower Eyegore Room", STONE_TOWER_TEMPLE, {
//Events
},
{
//Locations
},
{
//Exits
Entrance(STONE_TOWER_TEMPLE_INVERTED_ENTRANCE, {[]{return true;}}),
Entrance(STONE_TOWER_TEMPLE_INVERTED_THIN_BRIDGE_ROOM, {[]{return Bow && MagicMeter && LightArrows;}})
});

areaTable[STONE_TOWER_TEMPLE_INVERTED_THIN_BRIDGE_ROOM] = Area("Inverted Stone Tower Thin Bridge Room", "Inverted Stone Tower Thin Bridge Room", STONE_TOWER_TEMPLE, {
//Events
EventAccess(&ThinBridgeCrystalChest, {[]{return Fighting || Bow;}}),
Expand Down Expand Up @@ -4056,7 +4068,7 @@ void AreaTable_Init() {
}

namespace Areas {
static std::array < const AreaKey, 266> allAreas = {
static std::array < const AreaKey, 267> allAreas = {
ROOT,
ROOT_EXITS,
N_CLOCK_TOWN,
Expand Down Expand Up @@ -4248,6 +4260,7 @@ namespace Areas {
STONE_TOWER_TEMPLE_INVERTED_ENTRANCE_DEATH_ARMOS_LEDGE,
STONE_TOWER_TEMPLE_PRE_GOMESS_ROOM,
STONE_TOWER_TEMPLE_GOMESS_ROOM,
STONE_TOWER_TEMPLE_INVERTED_EYEGORE_ROOM,
STONE_TOWER_TEMPLE_INVERTED_THIN_BRIDGE_ROOM,
STONE_TOWER_TEMPLE_PRE_BOSS_ROOM,
STONE_TOWER_TEMPLE_BOSS_ROOM,
Expand Down

0 comments on commit e0e8322

Please sign in to comment.