Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_robot_destroy_part_parent_Step_0

(view raw script w/o annotations or w/e)
1
if (live_call())
2
    return global.live_result;
3
image_angle += (sign(hspeed) * 15);
4
if (fade_out_timer > 0)
5
{
6
    fade_out_timer--;
7
}
8
else
9
{
10
    image_alpha -= 0.1;
11
    if (image_alpha <= 0)
12
        instance_destroy();
13
}