Skip to content

Commit

Permalink
replace gTransformedPersonalities[battlerAtk] in HandleLoadSpecialPok…
Browse files Browse the repository at this point in the history
…ePic with personalityValue in HandleSpeciesGfxDataChange (#4975)
  • Loading branch information
iriv24 authored Jul 15, 2024
1 parent 7b3b635 commit 0e21e0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/battle_gfx_sfx_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -911,7 +911,7 @@ void HandleSpeciesGfxDataChange(u8 battlerAtk, u8 battlerDef, bool32 megaEvo, bo
HandleLoadSpecialPokePic(FALSE,
gMonSpritesGfxPtr->spritesGfx[position],
targetSpecies,
gTransformedPersonalities[battlerAtk]);
personalityValue);
}
else
{
Expand All @@ -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];
Expand Down

0 comments on commit 0e21e0d

Please sign in to comment.