Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_ceroba_barrage_warning_Other_7

(view raw script w/o annotations or w/e)
1
if (repeat_count <= 0)
2
{
3
    instance_destroy()
4
    if (global.battle_phase == 1)
5
        instance_create(320, 320, obj_battle_enemy_attack_ceroba_flower_barrage_black_hole)
6
    if instance_exists(obj_battle_enemy_attack_ceroba_flower_barrage_checker)
7
        obj_battle_enemy_attack_ceroba_flower_barrage_checker.alarm[0] = 1
8
}
9
else
10
{
11
    counter = 0
12
    repeat_count -= 1
13
}