fix hp boxes reappearing for fainted mons
This commit is contained in:
parent
739e5c7fb5
commit
aede11dae4
1 changed files with 1 additions and 0 deletions
|
@ -1012,6 +1012,7 @@ void UpdateOamPriorityInAllHealthboxes(u8 priority)
|
|||
gSprites[indicatorSpriteId].oam.priority = priority;
|
||||
|
||||
#if HIDE_HEALTHBOXES_DURING_ANIMS
|
||||
if (IsBattlerAlive(i))
|
||||
TryToggleHealboxVisibility(priority, healthboxLeftSpriteId, healthboxRightSpriteId, healthbarSpriteId, indicatorSpriteId);
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue