Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_homealone_piano_Create_0

(view raw script w/o annotations or w/e)
1
if (global.plot < 63)
2
{
3
    instance_destroy();
4
    exit;
5
}
6
event_inherited();
7
scr_depth
scr_depth

function
scr_depth(arg0 = id, arg1 = 0)
{ with (arg0) depth = 100000 - ((y * 10) + (sprite_height * 10) + (arg1 * 10)); }
();