mirror of
https://github.com/rh-hideout/pokeemerald-expansion.git
synced 2026-04-25 16:28:25 -05:00
Fix Shed Tail keeping Substitute sprite after closing party screen
This commit is contained in:
parent
2ce46efb0c
commit
8a5da7986b
|
|
@ -355,6 +355,8 @@ void CreateBattlerSprite(enum BattlerId battler)
|
|||
struct Pokemon *mon = GetBattlerMon(battler);
|
||||
if (!IsValidForBattle(mon))
|
||||
return;
|
||||
if (gBattleStruct->battlerState[battler].notOnField) // Don't create sprite for a mon that has switched out
|
||||
return;
|
||||
u32 species = GetMonData(mon, MON_DATA_SPECIES);
|
||||
|
||||
SetMultiuseSpriteTemplateToPokemon(species, position);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user