Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_blocktree_bg_Create_0

(view raw script w/o annotations or w/e)
1
scr_depth
scr_depth

function
scr_depth(arg0 = id, arg1 = 0)
{ with (arg0) depth = 100000 - ((y * 10) + (sprite_height * 10) + (arg1 * 10)); }
();
2
siner = 0;
3
image_xscale = 2;
4
image_yscale = 2;
5
siner = random(600);
6
blocktimer = 0;
7
image_speed = 0;
8
spec = 0;
9
remdepth = depth;