diff --git a/src/battle_interface.c b/src/battle_interface.c index c35e9f974..2ac611f83 100644 --- a/src/battle_interface.c +++ b/src/battle_interface.c @@ -2439,7 +2439,7 @@ s32 MoveBattleBar(u8 battlerId, u8 healthboxSpriteId, u8 whichBar, u8 unused) gBattleSpritesDataPtr->battleBars[battlerId].receivedValue, &gBattleSpritesDataPtr->battleBars[battlerId].currValue, #if B_FAST_HP_DRAIN == TRUE - B_HEALTHBAR_PIXELS / 8, max(gBattleSpritesDataPtr->battleBars[battlerId].maxValue / 64, 1)); + B_HEALTHBAR_PIXELS / 8, max(gBattleSpritesDataPtr->battleBars[battlerId].maxValue / B_HEALTHBAR_PIXELS, 1)); #else B_HEALTHBAR_PIXELS / 8, 1); #endif