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;