Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_martlet_feather_flow_explosion_Step_0

(view raw script w/o annotations or w/e)
1
if (!instance_exists(obj_heart_battle_fighting_parent))
2
{
3
    instance_destroy()
4
    return;
5
}
6
x += lengthdir_x(fly_speed, angle)
7
y += lengthdir_y(fly_speed, angle)
8
image_angle = angle
9
if (fade_out == true)
10
{
11
    image_alpha -= 0.1
12
    if (image_alpha < 0)
13
        image_alpha = 0
14
    if (image_alpha == 0)
15
        instance_destroy()
16
}