mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-02-06 03:20:01 +01:00
Fixed corruption bug when giving too many items from bag into boxes.
This commit is contained in:
parent
5593a83783
commit
4ba03a6d54
@ -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…
x
Reference in New Issue
Block a user