Undertale script viewer

← back to main script listing

gml_Object_obj_speedline_Create_0

(view raw script w/o annotations or w/e)
1
image_blend = merge_color(c_blue, c_aqua, random(1));
2
image_blend = merge_color(image_blend, c_white, random(0.5));
3
c = choose(0, 1, 2);
4
o = choose(0, 1);
5
if (c == 0)
6
{
7
    x = 2 + random(18);
8
    vspeed = 26;
9
    image_yscale = 6;
10
    image_alpha = 0.9;
11
    y = -100;
12
}
13
if (c == 1)
14
{
15
    x = 18 + random(18);
16
    vspeed = 22;
17
    image_yscale = 4;
18
    image_alpha = 0.7;
19
    y = -70;
20
}
21
if (c == 2)
22
{
23
    x = 30 + random(40);
24
    vspeed = 15;
25
    image_yscale = 3;
26
    image_alpha = 0.3;
27
    y = -40;
28
}
29
if (o == 1)
30
    x = room_width - x - 4;