Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_bowll_tail_a_Step_2

(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 == true)
7
{
8
    if (sprite_index == spr_bowll_tail_normal && image_speed == 0)
9
    {
10
        image_speed = image_speed_tail
11
        image_index = 0
12
    }
13
    else if (sprite_index != spr_bowll_tail_normal)
14
    {
15
        image_speed = 0
16
        image_index = 0
17
    }
18
}
19
else
20
{
21
    image_speed = 0
22
    image_index = 0
23
}
24
with (obj_bowll_tail_shadow_a)
25
    event_user(0)