Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_dunes_10_pebbles_fall_Step_0

(view raw script w/o annotations or w/e)
1
if (y > y_end)
2
{
3
    if (sprite_index != spr_dunes_10_pebbles_fall)
4
    {
5
        sprite_index = spr_dunes_10_pebbles_fall
6
        image_index = 0
7
        vspeed = 0
8
    }
9
    else if on_animation_end()
10
    {
11
        image_index = image_number - 1
12
        image_speed = 0
13
        if (!alarm[0])
14
            alarm[0] = 10
alarm[0]

if (image_alpha > 0) image_alpha -= 0.1 else instance_destroy() alarm[0] = 5
15
    }
16
    return;
17
}
18
vspeed += 0.1