Undertale script viewer

← back to main script listing

gml_Object_obj_convenientlamp_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 (global.plot <= 35)
3
    solid = 0;
4
else
5
    solid = 1;
6
if (instance_exists(obj_mainchara_actor))
7
    depth = obj_mainchara_actor.depth - 1;