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;
|
gSprites[indicatorSpriteId].oam.priority = priority;
|
||||||
|
|
||||||
#if HIDE_HEALTHBOXES_DURING_ANIMS
|
#if HIDE_HEALTHBOXES_DURING_ANIMS
|
||||||
|
if (IsBattlerAlive(i))
|
||||||
TryToggleHealboxVisibility(priority, healthboxLeftSpriteId, healthboxRightSpriteId, healthbarSpriteId, indicatorSpriteId);
|
TryToggleHealboxVisibility(priority, healthboxLeftSpriteId, healthboxRightSpriteId, healthbarSpriteId, indicatorSpriteId);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user