Fixed corruption bug when giving too many items from bag into boxes.
This commit is contained in:
parent
5593a83783
commit
4ba03a6d54
1 changed files with 1 additions and 1 deletions
|
@ -10126,9 +10126,9 @@ void UpdateSpeciesSpritePSS(struct BoxPokemon *boxMon)
|
|||
// Update front sprite
|
||||
sStorage->displayMonSpecies = species;
|
||||
sStorage->displayMonPalette = GetMonSpritePalFromSpeciesAndPersonality(species, otId, pid);
|
||||
LoadDisplayMonGfx(species, pid);
|
||||
if (!sJustOpenedBag)
|
||||
{
|
||||
LoadDisplayMonGfx(species, pid);
|
||||
StartDisplayMonMosaicEffect();
|
||||
|
||||
// Recreate icon sprite
|
||||
|
|
Loading…
Reference in a new issue