Deltarune (Chapter 3) script viewer

← back to main script listing

gml_GlobalScript_k_d

(view raw script w/o annotations or w/e)
1
function k_d()
2
{
3
    with (obj_dialoguer)
4
    {
5
        if (argument_count > 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
            
scr_doom
scr_doom

function
scr_doom(arg0, arg1)
{ with (instance_create_depth(0, 0, 0, obj_doom)) { alarm[0] target = arg0; } }
(stayer, argument0);
15
        }
16
        instance_destroy();
17
    }
18
    with (obj_writer)
19
        instance_destroy();
20
}