Skip to content

Commit

Permalink
Fix some Fierce Diety interactions in Clock Town (HarbourMasters#730)
Browse files Browse the repository at this point in the history
* fix fd town archery softlock

* allow FD to leave town
  • Loading branch information
balloondude2 authored Sep 8, 2024
1 parent bbfa903 commit 4d1ddff
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mm/src/overlays/actors/ovl_En_Stop_heishi/z_en_stop_heishi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)) &&
Expand Down
3 changes: 3 additions & 0 deletions mm/src/overlays/actors/ovl_En_Syateki_Man/z_en_syateki_man.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 4d1ddff

Please sign in to comment.