Undertale script viewer

← back to main script listing

gml_Object_obj_6pan_act_Step_0

(view raw script w/o annotations or w/e)
1
if (vspeed > 0 && con == 0)
2
    depth = -31;
3
if (y > 340 && con == 0)
4
{
5
    if (vspeed > 0)
6
    {
7
        depth = -14;
8
        gravity = 0;
9
        friction = 0.9;
10
    }
11
    else
12
    {
13
        depth = -14;
14
        vspeed = 0;
15
    }
16
}
17
image_angle = direction;
18
visible = true;