Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_ch4_DCA12_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[4]
 = 110;
gml_Object_obj_ch4_DCA12_Alarm_4.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 = 2.1;
38
    alarm[4]
 = 60;
gml_Object_obj_ch4_DCA12_Alarm_4.gml

con++;
39
}
40
if (con == 3.1)
41
{
42
    JA_XOFF = langopt(0, 50);
43
    global.typer = 79;
44
    global.msg[0] = stringsetloc(
The DARK FOUNTAIN...Wait for input
"The DARK FOUNTAIN.../", "obj_ch4_DCA12_slash_Step_0_gml_58_0"
);
45
    global.msg[1] = stringsetloc(
...Wait for input
".../", "obj_ch4_DCA12_slash_Step_0_gml_59_0"
);
46
    global.msg[2] = stringsetloc(
Why...Delay 11 Aren't they
stopping us from
sealing it...?Wait for inputClose Message
"Why..^1. Aren't they&stopping us from&sealing it...?/%", "obj_ch4_DCA12_slash_Step_0_gml_60_0"
);
47
    instance_create(100 + JA_XOFF, 80, obj_writer);
48
    con = 3.2;
49
}
50
if (con == 3.2 && !instance_exists(obj_writer))
51
{
52
    con = 4;
53
    alarm[4]
 = 30;
gml_Object_obj_ch4_DCA12_Alarm_4.gml

con++;
54
}
55
if (con == 5 && !instance_exists(obj_writer))
56
{
57
    global.msg[0] = stringsetloc(
...Delay 11 Well,Delay 11 guess I'm not complaining.Wait for inputClose Message
"..^1. Well^1, guess I'm not complaining./%", "obj_ch4_DCA12_slash_Step_0_gml_104_0"
);
58
    instance_create(100 + JA_XOFF, 80, obj_writer);
59
    con = 6;
60
}
61
if (con == 6 && !instance_exists(obj_writer))
62
{
63
    sussprite = spr_susieu_bright;
64
    global.msg[0] = stringsetloc(
Kris...Delay 11 do your thing.Wait for inputClose Message
"Kris..^1. do your thing./%", "obj_ch4_DCA12_slash_Step_0_gml_115_0"
);
65
    instance_create(100 + JA_XOFF, 80, obj_writer);
66
    con = 7;
67
    alarm[4]
 = 40;
gml_Object_obj_ch4_DCA12_Alarm_4.gml

con++;
68
}
69
if (con == 8 && !instance_exists(obj_writer))
70
{
71
    con = 99;
72
    snd_free_all();
73
    made = 1;
74
    global.plot = 200;
75
    instance_create(x + (sprite_width / 2), y + (sprite_width / 2) + 20, obj_ch4_DCA12_darkfountain_event);
76
}