Clear fixedPopup when gTestRunnerHeadless (#3133)

Previously fixedPopup = FALSE was unconditional, but it was erroneously
changed in f1b9872bf0.
This commit is contained in:
Martin Griffin 2023-07-14 16:26:19 +01:00 committed by GitHub
parent e1f2320f2e
commit 96159d189f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)