From 8919fe62dc8907f69c8f0dc49bee3a7c899e8fce Mon Sep 17 00:00:00 2001 From: Eduardo Quezada Date: Fri, 27 Dec 2024 21:46:32 -0300 Subject: [PATCH] Skipping waitmessage in headless mode --- src/battle_script_commands.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index 40f9db64c615..341444ea10a6 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -2790,6 +2790,8 @@ static void Cmd_waitmessage(void) else { u16 toWait = cmd->time; + if (gTestRunnerHeadless) + gPauseCounterBattle = toWait; if (++gPauseCounterBattle >= toWait) { gPauseCounterBattle = 0;