Undertale script viewer

← back to main script listing

gml_Object_obj_amalgam_tooth_Step_0

(view raw script w/o annotations or w/e)
1
if (con == 2)
2
{
3
    vspeed = 0;
4
    anchor = 1;
5
    con = 3;
6
}
7
if (anchor == 1)
8
{
9
    if (top == 1)
10
        y = global.idealborder[2];
11
    if (top == 0)
12
        y = global.idealborder[3] - sprite_height;
13
}
14
if (con == 11)
15
    instance_destroy();