fix hp boxes reappearing for fainted mons

This commit is contained in:
Evan 2020-10-20 20:57:05 -06:00
parent 739e5c7fb5
commit aede11dae4

View file

@ -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
}