From d92ddeecd8ca4db06a4b856ab37b714cf12e046b Mon Sep 17 00:00:00 2001 From: Reonu Date: Mon, 13 Dec 2021 21:42:17 +0200 Subject: [PATCH] Fix BUGFIX_DIALOG_TIME_STOP Fixes #136 --- src/game/object_helpers.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/object_helpers.c b/src/game/object_helpers.c index a3fc1df8e..5e51cf6b7 100644 --- a/src/game/object_helpers.c +++ b/src/game/object_helpers.c @@ -2024,7 +2024,7 @@ s32 cur_obj_update_dialog(s32 actionArg, s32 dialogFlags, s32 dialogID, UNUSED s s32 dialogResponse = DIALOG_RESPONSE_NONE; switch (o->oDialogState) { -#if BUGFIX_DIALOG_TIME_STOP +#ifdef BUGFIX_DIALOG_TIME_STOP case DIALOG_STATUS_ENABLE_TIME_STOP: // Patched :( // Wait for Mario to be ready to speak, and then enable time stop @@ -2109,7 +2109,7 @@ s32 cur_obj_update_dialog_with_cutscene(s32 actionArg, s32 dialogFlags, s32 cuts s32 doneTurning = TRUE; switch (o->oDialogState) { -#if BUGFIX_DIALOG_TIME_STOP +#ifdef BUGFIX_DIALOG_TIME_STOP case DIALOG_STATUS_ENABLE_TIME_STOP: // Wait for Mario to be ready to speak, and then enable time stop if (mario_ready_to_speak() || gMarioState->action == ACT_READING_NPC_DIALOG) {