Undertale script viewer

← back to main script listing

gml_Object_obj_fakefalls_Step_0

(view raw script w/o annotations or w/e)
1
if (col < 3 && bbox_bottom < obj_mainchara.bbox_top)
2
    scr_depth
scr_depth

depth = 50000 - ((y * 10) + (sprite_height * 10));
();
3
else
4
    depth = 1000;
5
col -= 1;
6
if (col < 0)
7
    col = 0;