Fixed check

This commit is contained in:
Eduardo Quezada
2022-07-29 10:30:12 -04:00
parent 53fc50229f
commit 94fc3ca044
+1 -1
View File
@@ -6008,7 +6008,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;