Fix some Fierce Diety interactions in Clock Town (#730)

* fix fd town archery softlock

* allow FD to leave town
This commit is contained in:
balloondude2
2024-09-08 19:01:02 -04:00
committed by GitHub
parent bbfa903a99
commit 4d1ddff798
2 changed files with 8 additions and 0 deletions
@@ -405,6 +405,11 @@ void func_80AE7F34(EnStopheishi* this, PlayState* play) {
case PLAYER_FORM_GORON:
phi_a2 = 2;
break;
// 2SH2 [FD Enhancement] - Guard treats FD as if Human has already talked
case PLAYER_FORM_FIERCE_DEITY:
phi_a2 = 1;
break;
}
if (((phi_a2 == 1) || (phi_a2 == 2) || (phi_a2 == 3)) &&
@@ -587,6 +587,9 @@ void EnSyatekiMan_Town_StartIntroTextbox(EnSyatekiMan* this, PlayState* play) {
}
break;
// 2SH2 [FD Enhancement] Don't allow playing town archery with FD becuase Swamp prevents FD archery by default.
// Get Goron's "quite the build" text
case PLAYER_FORM_FIERCE_DEITY:
case PLAYER_FORM_GORON:
if (CURRENT_DAY != 3) {
if (!(this->talkFlags & TALK_FLAG_TOWN_HAS_SPOKEN_WITH_GORON)) {