From 0e21e0debfcd0642b6e46e5e0e92a1f3b1eb7bb4 Mon Sep 17 00:00:00 2001 From: iriv24 <40581123+iriv24@users.noreply.github.com> Date: Mon, 15 Jul 2024 13:41:23 -0400 Subject: [PATCH] replace gTransformedPersonalities[battlerAtk] in HandleLoadSpecialPokePic with personalityValue in HandleSpeciesGfxDataChange (#4975) --- src/battle_gfx_sfx_util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/battle_gfx_sfx_util.c b/src/battle_gfx_sfx_util.c index 3963bccb00..728db40af2 100644 --- a/src/battle_gfx_sfx_util.c +++ b/src/battle_gfx_sfx_util.c @@ -911,7 +911,7 @@ void HandleSpeciesGfxDataChange(u8 battlerAtk, u8 battlerDef, bool32 megaEvo, bo HandleLoadSpecialPokePic(FALSE, gMonSpritesGfxPtr->spritesGfx[position], targetSpecies, - gTransformedPersonalities[battlerAtk]); + personalityValue); } else { @@ -929,7 +929,7 @@ void HandleSpeciesGfxDataChange(u8 battlerAtk, u8 battlerDef, bool32 megaEvo, bo HandleLoadSpecialPokePic(TRUE, gMonSpritesGfxPtr->spritesGfx[position], targetSpecies, - gTransformedPersonalities[battlerAtk]); + personalityValue); } } src = gMonSpritesGfxPtr->spritesGfx[position];