Fixed crash
This commit is contained in:
parent
e6c81d2862
commit
b60aab1f6a
1 changed files with 3 additions and 3 deletions
|
@ -10106,14 +10106,14 @@ void UpdateSpeciesSpritePSS(struct BoxPokemon *boxMon)
|
|||
u32 pid = GetBoxMonData(boxMon, MON_DATA_PERSONALITY);
|
||||
|
||||
// Update front sprite
|
||||
StartDisplayMonMosaicEffect();
|
||||
sStorage->displayMonSpecies = species;
|
||||
sStorage->displayMonPalette = GetMonSpritePalFromSpeciesAndPersonality(species, otId, pid);
|
||||
LoadDisplayMonGfx(species, pid);
|
||||
|
||||
// Recreate icon sprite
|
||||
if (!sJustOpenedBag)
|
||||
{
|
||||
StartDisplayMonMosaicEffect();
|
||||
|
||||
// Recreate icon sprite
|
||||
if (sInPartyMenu)
|
||||
{
|
||||
DestroyAllPartyMonIcons();
|
||||
|
|
Loading…
Reference in a new issue