Deltarune (Chapter 1) script viewer

← back to main script listing

gml_Object_obj_kingcutscene_Create_0

(view raw script w/o annotations or w/e)
1
image_speed = 0;
2
con = 0;
3
part = 0;
4
xx = 0;
5
yy = 0;
6
global.msg[0] = " ";
7
global.msg[1] = "%";
8
global.xoff = 240;
9
spadecon = 0;
10
kingburn = 0;
11
ky = 0;
12
type = 1;
13
if (global.flag[40 violences] > 0 || global.flag[43 autosusie_violences] >= 2)
14
    type = 0;
15
k = 328938298392;
16
s = 238928392839;
17
r = 58344839483493;
18
l = 2489284928392;
19
king = 2382938928392;
20
fountain_index = 0;
21
if (global.plot >= 240)
22
{
23
    if (!snd_is_playing(global.currentsong[1]))
24
    {
25
        global.currentsong[0] = snd_init("friendship.ogg");
26
        global.currentsong[1] = mus_loop_ext(global.currentsong[0], 0.8, 0.95);
27
    }
28
    con = 700;
29
}
30
else
31
{
32
    global.interact = 1;
33
    __view_set(e__VW.XView, 0, 0);
34
    with (obj_npc_facing)
35
        instance_destroy();
36
    with (obj_npc_room)
37
        instance_destroy();
38
}
39
40
enum e__VW
41
{
42
    XView,
43
    YView,
44
    WView,
45
    HView,
46
    Angle,
47
    HBorder,
48
    VBorder,
49
    HSpeed,
50
    VSpeed,
51
    Object,
52
    Visible,
53
    XPort,
54
    YPort,
55
    WPort,
56
    HPort,
57
    Camera,
58
    SurfaceID
59
}