Undertale script viewer

← back to main script listing

gml_Object_obj_handlightning_Step_0

(view raw script w/o annotations or w/e)
1
image_alpha += 0.3;
2
timer += 1;
3
siner += 1;
4
if (timer > 5)
5
{
6
    image_alpha -= 0.5;
7
    if (image_alpha < 0)
8
        instance_destroy();
9
}
10
image_blend = make_color_hsv(siner * 8, 150, 255);
11
if (type == 0)
12
{
13
    image_angle += 12;
14
    image_xscale += 0.1;
15
    image_yscale += 0.1;
16
}
17
if (type == 1)
18
    image_xscale += 0.1;