Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_script_delayed_Other_10

(view raw script w/o annotations or w/e)
1
if (i_ex(target))
2
{
3
    target.__scipt = script;
4
    for (i = 0; i < 10; i++)
5
        target.__scipt_arg[i] = script_arg[i];
6
    if (arg_count == 0)
7
    {
8
        with (target)
9
            script_execute(__scipt);
10
    }
11
    if (arg_count == 1)
12
    {
13
        with (target)
14
            script_execute(__scipt, __scipt_arg[0]);
15
    }
16
    if (arg_count == 2)
17
    {
18
        with (target)
19
            script_execute(__scipt, __scipt_arg[0], __scipt_arg[1]);
20
    }
21
    if (arg_count == 3)
22
    {
23
        with (target)
24
            script_execute(__scipt, __scipt_arg[0], __scipt_arg[1], __scipt_arg[2]);
25
    }
26
    if (arg_count == 4)
27
    {
28
        with (target)
29
            script_execute(__scipt, __scipt_arg[0], __scipt_arg[1], __scipt_arg[2], __scipt_arg[3]);
30
    }
31
    if (arg_count == 5)
32
    {
33
        with (target)
34
            script_execute(__scipt, __scipt_arg[0], __scipt_arg[1], __scipt_arg[2], __scipt_arg[3], __scipt_arg[4]);
35
    }
36
    if (arg_count == 6)
37
    {
38
        with (target)
39
            script_execute(__scipt, __scipt_arg[0], __scipt_arg[1], __scipt_arg[2], __scipt_arg[3], __scipt_arg[4], __scipt_arg[5]);
40
    }
41
    if (arg_count == 7)
42
    {
43
        with (target)
44
            script_execute(__scipt, __scipt_arg[0], __scipt_arg[1], __scipt_arg[2], __scipt_arg[3], __scipt_arg[4], __scipt_arg[5], __scipt_arg[6]);
45
    }
46
    if (arg_count == 8)
47
    {
48
        with (target)
49
            script_execute(__scipt, __scipt_arg[0], __scipt_arg[1], __scipt_arg[2], __scipt_arg[3], __scipt_arg[4], __scipt_arg[5], __scipt_arg[6], __scipt_arg[7]);
50
    }
51
    if (arg_count == 9)
52
    {
53
        with (target)
54
            script_execute(__scipt, __scipt_arg[0], __scipt_arg[1], __scipt_arg[2], __scipt_arg[3], __scipt_arg[4], __scipt_arg[5], __scipt_arg[6], __scipt_arg[7], __scipt_arg[8]);
55
    }
56
    if (arg_count == 10)
57
    {
58
        with (target)
59
            script_execute(__scipt, __scipt_arg[0], __scipt_arg[1], __scipt_arg[2], __scipt_arg[3], __scipt_arg[4], __scipt_arg[5], __scipt_arg[6], __scipt_arg[7], __scipt_arg[8], __scipt_arg[9]);
60
    }
61
}