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
{
5
    circle_delay--;
6
}
7
else if (circle_number > 0)
8
{
9
    instance_create_depth(0, 0, -100, obj_battle_enemy_attack_martlet_feather_circle_final_spawner);
10
    circle_number--;
11
}
12
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))
13
{
14
    if (!alarm[0])
15
        alarm[0] = 45;
16
    exit;
17
}