Undertale script viewer

← back to main script listing

gml_Object_obj_sans_friendc_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 (fun == 0)
3
{
4
    image_index = 0;
5
    script_execute(scr_npcdir, 2);
6
}