Undertale script viewer

← back to main script listing

gml_Object_obj_mettcounter_Step_0

(view raw script w/o annotations or w/e)
1
if (instance_exists(obj_cookshowevent))
2
{
3
    if (obj_cookshowevent.con < 4)
4
        depth = 1000000;
5
    else
6
        scr_depth
scr_depth

depth = 50000 - ((y * 10) + (sprite_height * 10));
();
7
}
8
else
9
{
10
    scr_depth
scr_depth

depth = 50000 - ((y * 10) + (sprite_height * 10));
();
11
}