mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-03-06 15:38:11 +01:00
fix hp boxes reappearing for fainted mons
This commit is contained in:
parent
739e5c7fb5
commit
aede11dae4
@ -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…
x
Reference in New Issue
Block a user