Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_fallingsword_Create_0

(view raw script w/o annotations or w/e)
1
event_inherited();
2
slowing = 30;
3
owner = -4;
4
damage = 206;
5
element = 5;
6
grazepoints = 12;
7
image_yscale = 0;
8
alarm[0]
 = 1;
gml_Object_obj_fallingsword_Alarm_0.gml

alarm[2]
 = 16;
if (finalsword) alarm[3]
9
destroyonhit = 0;
10
image_alpha = 0;
11
timer = 0;
12
_snd = -1;
13
nosfx = false;
14
max_old = 3;
15
old_x[0] = x;
16
old_y[0] = y;
17
old_angle[0] = image_angle;
18
for (i = 1; i < max_old; i++)
19
{
20
    old_x[i] = old_x[i - 1];
21
    old_y[i] = old_y[i - 1];
22
    old_angle[i] = old_angle[i - 1];
23
}
24
speed_gain = 0.4;
25
finalsword = false;