Fixed check

This commit is contained in:
Eduardo Quezada 2022-07-29 10:34:21 -04:00
parent fa32f337be
commit aa93af4083

View File

@ -6237,7 +6237,7 @@ static void Cmd_hpthresholds(void)
if (result == 0) if (result == 0)
result = 1; result = 1;
if (result > 69 || !gBattleMons[opposingBattler].hp == 0) if (result > 69 || gBattleMons[opposingBattler].hp == 0)
gBattleStruct->hpScale = 0; gBattleStruct->hpScale = 0;
else if (result > 39) else if (result > 39)
gBattleStruct->hpScale = 1; gBattleStruct->hpScale = 1;