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
    fade_out_timer--
6
else
7
{
8
    image_alpha -= 0.1
9
    if (image_alpha <= 0)
10
        instance_destroy()
11
}