Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_knight_rotating_slash_Other_10

(view raw script w/o annotations or w/e)
1
if (difficulty == 1)
2
{
3
    slash_offset = 6;
4
    slash_number = 3;
5
    slash_array[0] = 2;
6
    slash_array[1] = 3;
7
    slash_array[2] = 4;
8
    slash_array[3] = 4;
9
    slash_array[4] = 4;
10
    slash_array[5] = 4;
11
}
12
if (difficulty == 2)
13
{
14
    slash_offset = 0;
15
    slash_number = 3;
16
    slash_array[0] = 3;
17
    slash_array[1] = 4;
18
    slash_array[2] = 4;
19
    slash_array[3] = 4;
20
    slash_array[4] = 4;
21
    slash_array[5] = 4;
22
}
23
if (turn_type == "full")
24
    local_turntimer = 400;
25
if (turn_type == "start")
26
    local_turntimer = 320;
27
if (turn_type == "end")
28
{
29
    local_turntimer = 300;
30
    timer = 15;
31
}
32
if (turn_type == "short start")
33
{
34
    local_turntimer = 270;
35
    timer = 12;
36
    turn_limit_4 = 250;
37
}
38
if (turn_type == "short mid")
39
{
40
    local_turntimer = 260;
41
    timer = 15;
42
    turn_limit_4 = 250;
43
}
44
if (turn_type == "short end")
45
{
46
    local_turntimer = 260;
47
    timer = 15;
48
}