Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_cactony_needle_top_generator_Other_10

(view raw script w/o annotations or w/e)
1
with (id_needle)
2
    event_user(0)
3
fire_count += 1
4
if (fire_count < fire_max)
5
    alarm[0] = attack_alarm
alarm[0]

instance_create(x, (bbox_top + 2), obj_battle_enemy_attack_cactony_needle_top_needle) id_needle = global.id_store animate_state = 1
6
else
7
    alarm[1] = end_alarm
alarm[1]

instance_destroy()