Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_piece_Step_0

(view raw script w/o annotations or w/e)
1
if (alpha >= 0 && disappear == true)
2
    alpha -= 0.05
3
if (alarm[0] < 0.5)
4
{
5
    hspeed = random_range(-1, 1)
6
    vspeed = -2
7
    disappear = true
8
}
9
if (alpha <= 0)
10
    instance_destroy()