Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_ch4_LWF04_wagon_Create_0

(view raw script w/o annotations or w/e)
1
cageshake = 0;
2
cageamt = 0;
3
shaketimer = 0;
4
wagon_x = 235;
5
wagon_y = 165;
6
heartwagon = 0;
7
heartx = 0;
8
hearty = 0;
9
scr_depth
scr_depth

function
scr_depth(arg0 = id, arg1 = 0)
{ with (arg0) depth = 100000 - ((y * 10) + (sprite_height * 10) + (arg1 * 10)); }
();
10
depth = 9999;
11
if (global.plot >= 310 && global.plot < 320)
12
    heartwagon = 1;
13
else
14
    instance_destroy();