Some entities have a health check in their code, for example Gaudis. If their HP falls below 985 (maybe), they enter the dying animation/change into NPC Dying Gaudi. To prevent player from avoiding the animation, the HP is set to really high values so he/she can't just destroy the enemy even...