Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_overworld_lanternflame_arc_Create_0

(view raw script w/o annotations or w/e)
1
destroyoffscreen = false;
2
tolerance = 0;
3
active = 0;
4
image_alpha = 1;
5
timer = 0;
6
con = 0;
7
damage = 18;
8
target = 0;
9
fakeheight = 44;
10
fakeheightspeed = 0;
11
fakey = -15;
12
hitwall = 0;
13
savespeed = 0;
14
targetx = x;
15
targety = y;
16
distancex = 0;
17
distancey = 0;
18
bouncy = 0;
19
scr_darksize
scr_darksize

function
scr_darksize()
{ var inst = id; if (argument_count) inst = argument0; inst.image_xscale = 2; inst.image_yscale = 2; }
(id);
20
image_xscale = 1;
21
image_yscale = 1;
22
mylight = instance_create(x, y, obj_lightsource);
23
savedepth = depth;
24
depth -= 990000;