Fix BUGFIX_DIALOG_TIME_STOP

Fixes #136
This commit is contained in:
Reonu
2021-12-13 21:42:17 +02:00
committed by GitHub
parent 97eebacb1e
commit d92ddeecd8

View File

@@ -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) {