Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_dw_church_waterfall_Create_0

(view raw script w/o annotations or w/e)
1
dosep = 0;
2
con = 0;
3
timer = 0;
4
siner = 0;
5
scr_depth_alt
scr_depth_alt

function
scr_depth_alt(arg0 = id, arg1 = 0)
{ with (arg0) depth = 100000 - ((y * 10) + ((sprite_height - sprite_yoffset) * 10) + (arg1 * 10)); }
();
6
if (i_ex(obj_dw_church_waterfallroom))
7
    depth = 5001;
8
amt = 0;
9
clip_surface = -1;
10
clip_surface2 = -1;