Undertale script viewer

← back to main script listing

gml_Object_obj_fakedarksans_Step_0

(view raw script w/o annotations or w/e)
1
if (instance_exists(obj_creeptree_sansmaker))
2
{
3
    if (x < (obj_creeptree_sansmaker.x + 28))
4
    {
5
        instance_destroy();
6
        if (instance_exists(iii))
7
        {
8
            with (iii)
9
                instance_destroy();
10
        }
11
    }
12
}
13
if (obj_mainchara.x < gert)
14
    hspeed = 8;
15
if (instance_exists(obj_mainchara))
16
    gert = obj_mainchara.x;