Skip to content

Commit

Permalink
Skipping waitmessage in headless mode
Browse files Browse the repository at this point in the history
  • Loading branch information
AsparagusEduardo committed Dec 28, 2024
1 parent 2d550a2 commit 8919fe6
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 @@ -2790,6 +2790,8 @@ static void Cmd_waitmessage(void)
else
{
u16 toWait = cmd->time;
if (gTestRunnerHeadless)
gPauseCounterBattle = toWait;
if (++gPauseCounterBattle >= toWait)
{
gPauseCounterBattle = 0;
Expand Down

0 comments on commit 8919fe6

Please sign in to comment.