From d5ec52fcc2e9b43a0d0a45e471205eee68ba93f6 Mon Sep 17 00:00:00 2001 From: Agent X <44549182+AgentXLP@users.noreply.github.com> Date: Tue, 12 Nov 2024 17:50:15 -0500 Subject: [PATCH] Restore vanilla Eyerok boss dialog --- src/game/behaviors/eyerok.inc.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/game/behaviors/eyerok.inc.c b/src/game/behaviors/eyerok.inc.c index d42787de..67010f5a 100644 --- a/src/game/behaviors/eyerok.inc.c +++ b/src/game/behaviors/eyerok.inc.c @@ -118,16 +118,16 @@ static void eyerok_boss_act_wake_up(void) { } } -u8 eyerok_boss_act_show_intro_text_continue_dialog(void) { return o->oAction == EYEROK_BOSS_ACT_SHOW_INTRO_TEXT; } +static u8 eyerok_boss_act_show_intro_text_continue_dialog(void) { + return o->oAction == EYEROK_BOSS_ACT_SHOW_INTRO_TEXT; +} static void eyerok_boss_act_show_intro_text(void) { - // todo: get dialog working again - /*struct MarioState* marioState = nearest_mario_state_to_object(o); + struct MarioState* marioState = nearest_mario_state_to_object(o); if (should_start_or_continue_dialog(marioState, o) && cur_obj_update_dialog_with_cutscene(&gMarioStates[0], 2, 0, CUTSCENE_DIALOG, gBehaviorValues.dialogs.EyerokIntroDialog, eyerok_boss_act_show_intro_text_continue_dialog)) { o->oAction = EYEROK_BOSS_ACT_FIGHT; network_send_object_reliability(o, TRUE); - }*/ - o->oAction = EYEROK_BOSS_ACT_FIGHT; + } } static void eyerok_boss_act_fight(void) {