Undertale script viewer

← back to main script listing

gml_Object_obj_rainbowbolt_Step_0

(view raw script w/o annotations or w/e)
1
x = (thisx + random(6)) - random(6);
2
y = (thisy + random(6)) - random(6);
3
if (giga == 1)
4
{
5
    ss -= 0.5;
6
    x = (thisx + random(12)) - random(12);
7
    y = (thisy + random(12)) - random(12);
8
}
9
ss += 1;
10
if (ss > 2)
11
{
12
    image_alpha -= 0.1;
13
    if (image_alpha < 0.5)
14
        image_xscale -= 0.2;
15
    if (image_alpha < 0.1)
16
        instance_destroy();
17
}
18
add += 10;
19
image_blend = make_color_hsv(ac + add, 210, 255);