Undertale script viewer

← back to main script listing

gml_Object_obj_6shoe_part_Step_0

(view raw script w/o annotations or w/e)
1
siner += 1;
2
if (type == 0)
3
{
4
    if (counter > 0 && counter < 14)
5
        vspeed = -6;
6
    if (counter == 14)
7
        vspeed = 0;
8
    if (counter > 20 && counter < 30)
9
        vspeed = 8;
10
    if (counter == 30)
11
        vspeed = 0;
12
    if (counter > 40)
13
        counter = 1;
14
}
15
if (type == 1)
16
{
17
    vspeed = 0;
18
    if (speed > 0)
19
        speed -= 0.2;
20
    else
21
        speed = 0;
22
}
23
counter += 1;
24
if (x < -100)
25
    instance_destroy();