if (hp <= 0 || hurtCon != 0) exit; event_user(0); with (other) event_user(0);