Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_bowll_nostrils_cloud_a_Step_0

(view raw script w/o annotations or w/e)
1
if (!instance_exists(obj_bowll_body_a))
2
{
3
    instance_destroy()
4
    return;
5
}
6
if (obj_bowll_body_a.animating == false)
7
{
8
    instance_destroy()
9
    return;
10
}
11
x += x_speed
12
y_speed -= grav
13
y += y_speed
14
image_xscale += (direc * image_xscale_inc)
15
image_yscale += image_yscale_inc
16
if (fade == true)
17
{
18
    imagea_normal -= 0.1
19
    if (imagea_normal <= 0)
20
    {
21
        instance_destroy()
22
        return;
23
    }
24
}
25
image_alpha = imagea_normal * global.image_alpha_enemy_attacking