diff --git a/Faster-HP-Drain.md b/Faster-HP-Drain.md index 57827e2..b07d431 100644 --- a/Faster-HP-Drain.md +++ b/Faster-HP-Drain.md @@ -15,7 +15,7 @@ In [src/battle_interface.c](../blob/master/src/battle_interface.c) , around Line gBattleSpritesDataPtr->battleBars[battlerId].receivedValue, &gBattleSpritesDataPtr->battleBars[battlerId].currValue, - B_HEALTHBAR_PIXELS / 8, 1); -+ B_HEALTHBAR_PIXELS / 8, gBattleSpritesDataPtr->battleBars[battlerId].maxValue / x); ++ B_HEALTHBAR_PIXELS / 8, max(gBattleSpritesDataPtr->battleBars[battlerId].maxValue / x, 1)); ``` With [x] being whatever value you want