Skip to content

Commit

Permalink
Update location_access.cpp
Browse files Browse the repository at this point in the history
Update Termina Field areaTable Hint Keys , fixes crashes on 1.3.0 due to hint key not existing as well as fixes gossip stones listing Termina Field as both Barren AND WotH
  • Loading branch information
Tacoman369 committed Mar 20, 2024
1 parent 738133d commit 72bb980
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions source/location_access.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ void AreaTable_Init() {
Entrance(TERMINA_FIELD_OUTSIDE_OBSERVATORY, {[]{return DekuMask;}}),
});

areaTable[TERMINA_FIELD_OUTSIDE_OBSERVATORY] = Area("Termina Field Outside Observatory","Termina Field Outside Observatory", TERMINA_FIELD_OUTSIDE_OBSERVATORY, {
areaTable[TERMINA_FIELD_OUTSIDE_OBSERVATORY] = Area("Termina Field Outside Observatory","Termina Field Outside Observatory", NONE, {
//Events
},
{
Expand All @@ -680,7 +680,7 @@ void AreaTable_Init() {
Entrance(CLOCK_TOWN_OBSERVATORY, {[]{return true;}}),
});

areaTable[TERMINA_FIELD_PEAHAT_GROTTO] = Area("Termina Field Peahat Grotto","Termina Field Peahat Grotto", TERMINA_FIELD_PEAHAT_GROTTO, {
areaTable[TERMINA_FIELD_PEAHAT_GROTTO] = Area("Termina Field Peahat Grotto","Termina Field Peahat Grotto", NONE, {
//Events
EventAccess(&Mushroom, {[]{return false;}}),//Trick for obscure mushroom?
},
Expand All @@ -694,7 +694,7 @@ void AreaTable_Init() {
Entrance(TERMINA_FIELD, {[]{return true;}}),
});

areaTable[TERMINA_FIELD_DODONGO_GROTTO] = Area("Termina Field Dodongo Grotto","Termina Field Dodongo Grotto", TERMINA_FIELD_DODONGO_GROTTO, {
areaTable[TERMINA_FIELD_DODONGO_GROTTO] = Area("Termina Field Dodongo Grotto","Termina Field Dodongo Grotto", NONE, {
//Events
},
{
Expand All @@ -706,7 +706,7 @@ void AreaTable_Init() {
//Exits
Entrance(TERMINA_FIELD, {[]{return true;}}),
});
areaTable[TERMINA_FIELD_BIO_BABA_GROTTO] = Area("Termina Field Bio Baba Grotto","Termina Field Bio Baba Grotto", TERMINA_FIELD_BIO_BABA_GROTTO, {
areaTable[TERMINA_FIELD_BIO_BABA_GROTTO] = Area("Termina Field Bio Baba Grotto","Termina Field Bio Baba Grotto", NONE, {
//Events
EventAccess(&Mushroom, {[]{return false;}}),//Trick for obscure mushroom?
},
Expand All @@ -718,7 +718,7 @@ void AreaTable_Init() {
//Exits
Entrance(TERMINA_FIELD, {[]{return true;}}),
});
areaTable[TERMINA_FIELD_PILLAR_GROTTO] = Area("Termina Field Pillar Grotto","Termina Field Pillar Grotto", TERMINA_FIELD_PILLAR_GROTTO, {
areaTable[TERMINA_FIELD_PILLAR_GROTTO] = Area("Termina Field Pillar Grotto","Termina Field Pillar Grotto", NONE, {
//Events
EventAccess(&Mushroom, {[]{return false;}}),//Trick for obscure mushroom?
EventAccess(&Bugs, {[]{return AnyBottle;}}),
Expand All @@ -734,7 +734,7 @@ void AreaTable_Init() {
//Exits
Entrance(TERMINA_FIELD, {[]{return true;}}),
});
areaTable[TERMINA_FIELD_GRASS_GROTTO] = Area("Termina Field Grass Grotto","Termina Field Grass Grotto", TERMINA_FIELD_GRASS_GROTTO, {
areaTable[TERMINA_FIELD_GRASS_GROTTO] = Area("Termina Field Grass Grotto","Termina Field Grass Grotto", NONE, {
//Events
EventAccess(&Mushroom, {[]{return false;}}),//Trick for obscure mushroom?
EventAccess(&Bugs, {[]{return AnyBottle;}}),
Expand All @@ -750,7 +750,7 @@ void AreaTable_Init() {
{
//Exits
});
areaTable[TERMINA_FIELD_BUSINESS_SCRUB_GROTTO] = Area("Termina Field Business Scrub Grotto","Termina Field Business Scrub Grotto", TERMINA_FIELD_BUSINESS_SCRUB_GROTTO, {
areaTable[TERMINA_FIELD_BUSINESS_SCRUB_GROTTO] = Area("Termina Field Business Scrub Grotto","Termina Field Business Scrub Grotto", NONE, {
//Events
EventAccess(&Bugs, {[]{return AnyBottle;}}),
EventAccess(&Mushroom, {[]{return false;}}),//Trick for obscure mushroom?
Expand All @@ -763,7 +763,7 @@ void AreaTable_Init() {
//Exits
Entrance(TERMINA_FIELD, {[]{return true;}}),
});
areaTable[TERMINA_FIELD_COW_GROTTO] = Area("Termina Field Cow Grotto","Termina Field Cow Grotto", TERMINA_FIELD_COW_GROTTO, {
areaTable[TERMINA_FIELD_COW_GROTTO] = Area("Termina Field Cow Grotto","Termina Field Cow Grotto", NONE, {
//Events
EventAccess(&Mushroom, {[]{return false;}}),//Trick for obscure mushroom?
EventAccess(&Milk, {[]{return CanPlay(EponasSong) && AnyBottle;}}),
Expand All @@ -777,7 +777,7 @@ void AreaTable_Init() {
//Exits
Entrance(TERMINA_FIELD, {[]{return true;}}),
});
areaTable[TERMINA_FIELD_GOSSIP_STONES_GROTTO] = Area("Termina Field Gossip Stones Grotto","Termina Field Gossip Stones Grotto", TERMINA_FIELD_GOSSIP_STONES_GROTTO, {
areaTable[TERMINA_FIELD_GOSSIP_STONES_GROTTO] = Area("Termina Field Gossip Stones Grotto","Termina Field Gossip Stones Grotto", NONE, {
//Events
EventAccess(&Bugs, {[]{return AnyBottle;}}),
EventAccess(&SpringWater, {[] {return AnyBottle;}}),
Expand Down

0 comments on commit 72bb980

Please sign in to comment.