Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_martlet_feather_fall_target_1_final_Step_2

(view raw script w/o annotations or w/e)
1
if (!instance_exists(obj_heart_battle_fighting_parent))
2
{
3
    instance_destroy();
4
    exit;
5
}
6
if (instance_exists(id_feather))
7
{
8
    if (id_feather.state == 2)
9
    {
10
        image_speed = 0;
11
        image_index = 2;
12
    }
13
    image_alpha = id_feather.image_alpha;
14
}
15
draw_angle = point_direction(x, y, obj_heart_battle_fighting_parent.x, obj_heart_battle_fighting_parent.y);