If either condition evals as true, the whole statement is true.
Even if the user presses 3, if Enemy.HP is > 0, it will continue to run and vice versa. If HP < 0 and the player has not pressed three, it will continue to run.
You may need to invert the condition and evaluate it for when it's not true.