Deltarune (Chapter 5) script viewer

← back to main script listing

gml_GlobalScript_k_d

(view raw script w/o annotations or w/e)
1
function k_d(arg0 = 0)
2
{
3
    with (obj_dialoguer)
4
    {
5
        if (arg0 > 0)
6
        {
7
            var _stayer = instance_create_depth(x, y, depth + 1, obj_writer_stay);
8
            _stayer.side = side;
9
            _stayer.xoff = xoff;
10
            _stayer.yoff = yoff;
11
            _stayer.boxwidth = boxwidth;
12
            _stayer.boxheight = boxheight;
13
            _stayer.cur_jewel = cur_jewel;
14
            _stayer.doom = arg0;
15
            _stayer.c_border = c_border;
16
            _stayer.c_inner = c_inner;
17
        }
18
        instance_destroy();
19
    }
20
    with (obj_writer)
21
        instance_destroy();
22
    with (obj_choicer_neo)
23
        instance_destroy();
24
}