with (id_needle)
event_user(0)
fire_count += 1
if (fire_count < fire_max)
alarm[0] = attack_alarmalarm[0]instance_create(x, (bbox_top + 2), obj_battle_enemy_attack_cactony_needle_top_needle) id_needle = global.id_store animate_state = 1
else
alarm[1] = end_alarmalarm[1]instance_destroy()