Skip to content

Commit

Permalink
Skipping pause in headless mode
Browse files Browse the repository at this point in the history
  • Loading branch information
AsparagusEduardo committed Dec 28, 2024
1 parent 8919fe6 commit bd0e5bc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/battle_script_commands.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bd0e5bc

Please sign in to comment.