x = parent.x; if (parent.char_state != "shoot") instance_destroy();