Skip to content

Commit

Permalink
Clear fixedPopup when gTestRunnerHeadless (#3133)
Browse files Browse the repository at this point in the history
Previously fixedPopup = FALSE was unconditional, but it was erroneously
changed in f1b9872.
  • Loading branch information
mrgriffin authored Jul 14, 2023
1 parent e1f2320 commit 96159d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/battle_interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -3188,8 +3188,8 @@ void DestroyAbilityPopUp(u8 battlerId)
{
gSprites[gBattleStruct->abilityPopUpSpriteIds[battlerId][0]].tFrames = 0;
gSprites[gBattleStruct->abilityPopUpSpriteIds[battlerId][1]].tFrames = 0;
gBattleScripting.fixedPopup = FALSE;
}
gBattleScripting.fixedPopup = FALSE;
}

static void Task_FreeAbilityPopUpGfx(u8 taskId)
Expand Down

0 comments on commit 96159d1

Please sign in to comment.