From 58d06849af4d6d71b07a08e790c456ef54284a03 Mon Sep 17 00:00:00 2001 From: Jordan Longstaff Date: Wed, 19 Aug 2026 08:03:48 -0400 Subject: Document `EnIn` (AKA the hard-working Ingo) (#2778) * Document `EnIn` (AKA the hard-working Ingo) * Fix variable references * Revert switch * Rename race outcome functions for clarity * Apply suggestions --- src/code/z_actor.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/code') diff --git a/src/code/z_actor.c b/src/code/z_actor.c index a11713117..ccf7fc004 100644 --- a/src/code/z_actor.c +++ b/src/code/z_actor.c @@ -5628,7 +5628,7 @@ u32 func_80035BFC(PlayState* play, s16 arg1) { if (!LINK_IS_ADULT) { if (Flags_GetEventChkInf(EVENTCHKINF_TALON_RETURNED_FROM_CASTLE)) { retTextId = 0x2040; - } else if (Flags_GetInfTable(INFTABLE_94)) { + } else if (Flags_GetInfTable(INFTABLE_INGO_TALKED_TO_CHILD_LINK_BEFORE_TALON_RETURNED)) { retTextId = 0x2040; } else { retTextId = 0x203F; @@ -5637,7 +5637,7 @@ u32 func_80035BFC(PlayState* play, s16 arg1) { if (!Flags_GetEventChkInf(EVENTCHKINF_EPONA_OBTAINED)) { if (!IS_DAY) { retTextId = 0x204E; - } else if (Flags_GetInfTable(INFTABLE_9A)) { + } else if (Flags_GetInfTable(INFTABLE_INGO_TALKED_TO_ADULT_LINK)) { retTextId = 0x2031; } else { retTextId = 0x2030; @@ -6024,7 +6024,7 @@ s32 func_800374E0(PlayState* play, Actor* actor, u16 textId) { if (msgCtx->choiceIndex == 1) { func_80035B18(play, actor, 0x2032); } - Flags_SetInfTable(INFTABLE_9A); + Flags_SetInfTable(INFTABLE_INGO_TALKED_TO_ADULT_LINK); ret = 0; break; case 0x2035: -- cgit v1.2.3