Undertale script viewer

← back to main script listing

gml_Object_obj_switch_Create_0

(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
myinteract = 0;
3
image_xscale = 1;
4
image_yscale = 1;
5
image_speed = 0;
6
if (global.plot > 90)
7
    instance_destroy();