Undertale script viewer

← back to main script listing

gml_Object_obj_sans_sleep_Create_0

(view raw script w/o annotations or w/e)
1
image_speed = 0.05;
2
scr_depth
scr_depth

depth = 50000 - ((y * 10) + (sprite_height * 10));
();
3
snoozer = instance_create(x + (sprite_width / 2), y - 1, obj_snoozer);
4
if (global.plot > 121 || global.flag[67 status_papyrus] == 1)
5
    instance_destroy();