Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_martlet_feather_circle_final_checker_Step_2

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
if (circle_delay > 0)
4
    circle_delay--
5
else if (circle_number > 0)
6
{
7
    instance_create_depth(0, 0, -100, obj_battle_enemy_attack_martlet_feather_circle_final_spawner)
8
    circle_number--
9
}
10
if ((!instance_exists(obj_battle_enemy_attack_martlet_feather_circle_final_feather)) && (!instance_exists(obj_battle_enemy_attack_martlet_feather_ext_checker_final)) && (!instance_exists(obj_battle_enemy_attack_martlet_genocide_feather_ext_feather_final)) && (!instance_exists(obj_martlet_attack_splitting_feather_ext_checker)))
11
{
12
    if (!alarm[0])
13
        alarm[0] = 45
alarm[0]

instance_destroy()
14
    return;
15
}