Deltarune (Chapter 2) script viewer

← back to main script listing

gml_GlobalScript_scr_actinfo

(view raw script w/o annotations or w/e)
1
function 
scr_actinfo
scr_actinfo

function
scr_actinfo(arg0)
{ actcost = -1; acttype = 0; actspell = 0; actor = 1; actname = " "; switch (arg0) { case 0: actcost = -1; acttype = 0; actspell = 0; actor = 1; actname = " "; break; case 1: actcost = -1; acttype = 0; actspell = 0; actor = 1; actname = "Compliment"; break; case 2: actcost = -1; acttype = 1; actspell = 2; actor = 2; actname = "DualBuster"; break; } }
(arg0)
2
{
3
    actcost = -1;
4
    acttype = 0;
5
    actspell = 0;
6
    actor = 1;
7
    actname = " ";
8
    switch (arg0)
9
    {
10
        case 0:
11
            actcost = -1;
12
            acttype = 0;
13
            actspell = 0;
14
            actor = 1;
15
            actname = " ";
16
            break;
17
        case 1:
18
            actcost = -1;
19
            acttype = 0;
20
            actspell = 0;
21
            actor = 1;
22
            actname = "Compliment";
23
            break;
24
        case 2:
25
            actcost = -1;
26
            acttype = 1;
27
            actspell = 2;
28
            actor = 2;
29
            actname = "DualBuster";
30
            break;
31
    }
32
}