Deltarune (Chapter 5) script viewer

← back to main script listing

gml_Object_obj_ch5_DW50_Step_0

(view raw script w/o annotations or w/e)
1
if (songplay == 2)
2
{
3
    global.currentsong[0] = snd_init("wind_highplace.ogg");
4
    global.currentsong[1] = mus_loop_ext(global.currentsong[0], 0.8, 0.9);
5
    songplay = 3;
6
}
7
if (songplay == 1)
8
{
9
    snd_free_all();
10
    songplay = 2;
11
}
12
if (songplay == 0)
13
{
14
    with (obj_mainchara)
15
        visible = 0;
16
    songplay = 1;
17
}
18
if (con == 0)
19
{
20
    JA_XOFF = 0;
21
    con = 1;
22
    alarm[0]
 = 110;
gml_Object_obj_ch5_DW50_Alarm_0.gml

con++;
23
}
24
if (con == 1)
25
{
26
    y -= 2;
27
    image_index = susindex;
28
    susindex += 0.2;
29
    susy -= 2;
30
    global.interact = 1;
31
}
32
if (con == 2)
33
{
34
    image_speed = 0;
35
    image_index = 0;
36
    susindex = 0;
37
    con = 3;
38
    alarm[0]
 = 60;
gml_Object_obj_ch5_DW50_Alarm_0.gml

con++;
39
}
40
if (con == 4)
41
{
42
    con = 5;
43
    alarm[0]
 = 40;
gml_Object_obj_ch5_DW50_Alarm_0.gml

con++;
44
    JA_XOFF = langopt(0, 50);
45
    global.typer = 99;
46
    global.msg[0] = stringsetloc(
...Delay 11 Kris...Delay 11Wait for input
"..^1. Kris..^1./", "obj_ch5_DW50_slash_Step_0_gml_55_0"
);
47
    global.msg[1] = stringsetloc(
...Delay 11Wait for input
"..^1./", "obj_ch5_DW50_slash_Step_0_gml_56_0"
);
48
    global.msg[2] = stringsetloc(
...Delay 11 just...Delay 11 seal it.Wait for inputClose Message
"..^1. just..^1. seal it./%", "obj_ch5_DW50_slash_Step_0_gml_57_0"
);
49
    instance_create(100 + JA_XOFF, 80, obj_writer);
50
}
51
if (con == 6 && !instance_exists(obj_writer))
52
{
53
    con = 7;
54
    alarm[0]
 = 30;
gml_Object_obj_ch5_DW50_Alarm_0.gml

con++;
55
}
56
if (con == 8)
57
{
58
    con = 99;
59
    snd_free_all();
60
    made = 1;
61
    global.plot = 550;
62
    instance_create(x + (sprite_width / 2), y + (sprite_width / 2) + 20, obj_darkfountain_event);
63
}