Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_roaringknight_quickslash_attack_Other_11

(view raw script w/o annotations or w/e)
1
x = obj_growtangle.x + abs(x - obj_growtangle.x);
2
if (final_slash_anim)
3
{
4
    x += 220;
5
    if (verticalcut == true)
6
        y += 280;
7
}
8
else
9
{
10
    image_xscale = abs(image_xscale);
11
}
12
if (image_alpha == 0)
13
{
14
    knight.image_alpha = 0;
15
    image_alpha = 1;
16
}
17
if (image_index >= 4)
18
    image_index = 1;
19
else
20
    image_index = 4;
21
animtimer = 0;
22
if (slash_anim_count > 0)
23
    aetimer = -1;
24
slash_anim_count++;
25
if (final_slash_anim)
26
    recoil = 6;
27
else
28
    x -= 2;