Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_overworld_knight_sword2_Create_0

(view raw script w/o annotations or w/e)
1
destroyoffscreen = false;
2
tolerance = 0;
3
active = 1;
4
timer = 0;
5
con = 0;
6
damage = 25;
7
target = 0;
8
ypos = y;
9
xpos = x;
10
vanish = false;
11
image_alpha = 0;
12
image_speed = 0;
13
image_index = 2;
14
image_angle = 270;
15
image_xscale = 2;
16
image_yscale = 2;
17
sprite_index = spr_roaringknight_sword3;
18
depth = 49000;
19
direction = image_angle;
20
21
MoveSword = function(arg0, arg1 = direction)
22
{
23
    xpos += lengthdir_x(arg0, direction);
24
    ypos += lengthdir_y(arg0, direction);
25
};
26
27
murder = false;
28
alwaystrack_x = false;
29
cameratrack_x = true;
30
cameratrack_y = true;
31
placed = false;
32
spring_length = 10;
33
heavy = false;