Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_dw_church_organikchaser_Create_0

(view raw script w/o annotations or w/e)
1
con = 0;
2
timer = 0;
3
init = 0;
4
siner = 0;
5
animindex = 0;
6
animspeed = 0;
7
delaytime = 8;
8
spd = 0;
9
maxspd = 10;
10
touchsize = 40;
11
scr_darksize
scr_darksize

function
scr_darksize()
{ var inst = id; if (argument_count) inst = argument0; inst.image_xscale = 2; inst.image_yscale = 2; }
();
12
facing = 0;
13
darkroom = false;
14
accl = 0.0625;
15
retimer = 0;
16
dir = 0;
17
clearall = true;
18
marker = -4;
19
encounterflag = 0;
20
encounterno = 156;
21
drawsiner = 0;
22
auraalph = 0;
23
drawaura = false;
24
if (room == room_dw_churchc_encounter2 || instance_exists(obj_dw_churchc_encounter2))
25
{
26
    encounterflag = 1792;
27
    encounterno = 188;
28
    if (global.flag[encounterflag] == 1)
29
        instance_destroy();
30
}
31
scr_depth
scr_depth

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