2012-07-16, 12:00 PM
Or, you know
Code:
// Works regardless of HP's type
if (DamageTaken >= HP)
{
PlayerDies();
}
