Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_dw_church_pushableshelf_darklight_Create_0

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

function
scr_darksize()
{ var inst = id; if (argument_count) inst = argument0; inst.image_xscale = 2; inst.image_yscale = 2; }
(id);
2
myinteract = 0;
3
image_speed = 0;
4
scr_depth
scr_depth

function
scr_depth(arg0 = id, arg1 = 0)
{ with (arg0) depth = 100000 - ((y * 10) + (sprite_height * 10) + (arg1 * 10)); }
();
5
extflag = 0;
6
init = 0;
7
myblock[0] = instance_create(x, y + 80, obj_solid_temp);
8
myblock[0].image_xscale = 3;
9
myblock[0].image_yscale = 3;
10
myblock[0].extflag = "FLOOR1";
11
myblock[0].active = true;
12
upstairs[0] = 0;
13
con = 0;
14
mydir = -1;
15
timer = 0;
16
maxDistance = 16;
17
moveamount = 0;
18
timeend = 30;
19
ladder = 0;
20
climbpoint = 0;
21
resetblocks = false;
22
movetype = 0;