From 96159d189f60e351c407dbc1e5433156ccd28252 Mon Sep 17 00:00:00 2001 From: Martin Griffin Date: Fri, 14 Jul 2023 16:26:19 +0100 Subject: [PATCH] Clear fixedPopup when gTestRunnerHeadless (#3133) Previously fixedPopup = FALSE was unconditional, but it was erroneously changed in f1b9872bf0a. --- src/battle_interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/battle_interface.c b/src/battle_interface.c index 1a4909818..3e6029ab7 100644 --- a/src/battle_interface.c +++ b/src/battle_interface.c @@ -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)