replace gTransformedPersonalities[battlerAtk] in HandleLoadSpecialPokePic with personalityValue in HandleSpeciesGfxDataChange (#4975)

This commit is contained in:
iriv24 2024-07-15 13:41:23 -04:00 committed by GitHub
parent 7b3b635c67
commit 0e21e0debf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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];