Deltarune (Chapter 5) script viewer

← back to main script listing

gml_GlobalScript_scr_blconskip

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

function
scr_blconskip(arg0)
{ if (arg0 >= 0) { if (button1_p() && talktimer > arg0) talktimer = talkmax; talktimer++; if (talktimer >= talkmax) { with (obj_writer) instance_destroy(); if (i_ex(obj_balloon_queue)) msgset_fromqueue(); else global.mnfight = 1.5; } } else if (arg0 == -1) { if (!instance_exists(obj_writer)) { if (i_ex(obj_balloon_queue)) msgset_fromqueue(); else global.mnfight = 1.5; } } else if (arg0 == -2) { talktimer++; if (talktimer > 15) talktimer = talkmax; if (talktimer >= talkmax) { with (obj_writer) instance_destroy(); if (i_ex(obj_balloon_queue)) msgset_fromqueue(); else global.mnfight = 1.5; } } }
(arg0)
2
{
3
    if (arg0 >= 0)
4
    {
5
        if (button1_p() && talktimer > arg0)
6
            talktimer = talkmax;
7
        talktimer++;
8
        if (talktimer >= talkmax)
9
        {
10
            with (obj_writer)
11
                instance_destroy();
12
            if (i_ex(obj_balloon_queue))
13
                msgset_fromqueue();
14
            else
15
                global.mnfight = 1.5;
16
        }
17
    }
18
    else if (arg0 == -1)
19
    {
20
        if (!instance_exists(obj_writer))
21
        {
22
            if (i_ex(obj_balloon_queue))
23
                msgset_fromqueue();
24
            else
25
                global.mnfight = 1.5;
26
        }
27
    }
28
    else if (arg0 == -2)
29
    {
30
        talktimer++;
31
        if (talktimer > 15)
32
            talktimer = talkmax;
33
        if (talktimer >= talkmax)
34
        {
35
            with (obj_writer)
36
                instance_destroy();
37
            if (i_ex(obj_balloon_queue))
38
                msgset_fromqueue();
39
            else
40
                global.mnfight = 1.5;
41
        }
42
    }
43
}