From bd0e5bc702b2288b92cfdcbbf1d4fefa6a34750f Mon Sep 17 00:00:00 2001 From: Eduardo Quezada Date: Fri, 27 Dec 2024 22:13:29 -0300 Subject: [PATCH] Skipping pause 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 341444ea10a6..dcc2f16ce9ea 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -5292,6 +5292,8 @@ static void Cmd_pause(void) if (gBattleControllerExecFlags == 0) { u16 value = cmd->frames; + if (gTestRunnerHeadless) + gPauseCounterBattle = value; if (++gPauseCounterBattle >= value) { gPauseCounterBattle = 0;