Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_martlet_attack_splitting_feather_target_axis_Step_2

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