Undertale script viewer

← back to main script listing

gml_Object_obj_savepoint_Step_1

(view raw script w/o annotations or w/e)
1
scr_depth
scr_depth

depth = 50000 - ((y * 10) + (sprite_height * 10));
(0, 0, 0, 0, 0);
2
if (instance_exists(OBJ_WRITER) == 0 && myinteract == 4)
3
{
4
    if (global.plot < 2)
5
        global.plot = 2;
6
    global.interact = 5;
7
    global.menuno = 4;
8
    myinteract = 5;
9
}