Undertale script viewer

← back to main script listing

gml_Object_obj_assortedtrash_Step_2

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

depth = 50000 - ((y * 10) + (sprite_height * 10));
();
2
if (con == 1 && instance_exists(OBJ_WRITER) == 0)
3
{
4
    snd_play(snd_slidewhist);
5
    con = 0;
6
}