Deltarune script viewer

← back to main script listing

gml_Object_DEVICE_OBACK_4_Step_0

(view raw script w/o annotations or w/e)
1
siner += 1;
2
if (OBSPEED > 0)
3
    alpha = sin(siner / 34) * 0.2;
4
ystretch += OBSPEED;
5
xstretch += OBSPEED;
6
if (b_insurance < 0)
7
    b_insurance += 0.01;
8
if (ystretch > 2)
9
{
10
    o_insurance += 0.01;
11
    if (o_insurance >= 0.5)
12
        instance_destroy();
13
}