From cda75bca70a3a0273fdb9ad9b36fc531a1c31acb Mon Sep 17 00:00:00 2001 From: DizzyEggg Date: Sun, 25 Aug 2019 15:39:56 +0200 Subject: [PATCH] lol am dumb --- 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 7a4ab82c1..96814d7df 100644 --- a/src/battle_interface.c +++ b/src/battle_interface.c @@ -694,7 +694,7 @@ u8 CreateBattlerHealthboxSprites(u8 battlerId) // Create mega indicator sprite if is a mega evolved mon. if (gBattleStruct->mega.evolvedPartyIds[GetBattlerSide(battlerId)] & gBitTable[gBattlerPartyIndexes[battlerId]]) { - CreateMegaIndicatorSprite(battlerId, 0); + megaIndicatorSpriteId = CreateMegaIndicatorSprite(battlerId, 0); gSprites[megaIndicatorSpriteId].invisible = TRUE; }