Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_robot_destroy_explosion_Step_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
if (fade_out == true)
4
{
5
    image_alpha -= 0.1
6
    if (image_alpha <= 0)
7
        instance_destroy()
8
}
9
image_xscale = 2 + (sin(current_time / 100)) * 0.2
10
image_yscale = image_xscale