Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_tellyvis_tape_generator_Alarm_0

(view raw script w/o annotations or w/e)
1
if (attack_number > 0)
2
{
3
    instance_create_depth(0, 0, -1000, obj_battle_enemy_attack_tellyvis_tape)
4
    attack_number -= 1
5
    alarm[0] = attack_interval
alarm[0]

if (attack_number > 0) { instance_create_depth(0, 0, -1000, obj_battle_enemy_attack_tellyvis_tape) attack_number -= 1 alarm[0] = attack_interval } else instance_destroy()
6
}
7
else
8
    instance_destroy()