Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_ch4_PDC03_choir_song_Step_0

(view raw script w/o annotations or w/e)
1
if (start_song)
2
{
3
    start_song = false;
4
    choir_song[1] = audio_play_sound(choir_song[0], 90, 0);
5
    alarm[5]
 = 25;
gml_Object_obj_ch4_PDC03_choir_song_Alarm_5.gml

song_started = true; global.typer = 41; global.msg[0] = stringsetloc(
Heaven knows
Delay 66the story that we've born
Delay 44from our hearts Delay 22Close Message
"Heaven knows^6&the story that we've born^4&from our hearts^2 %", "obj_ch4_PDC03_choir_song_slash_Alarm_5_gml_6_0"
);
global.msg[1] = stringsetloc(
Of the shadows cutting deep
Delay 22and the heroes that save us Delay 44Close Message
"Of the shadows cutting deep^2&and the heroes that save us^4 %", "obj_ch4_PDC03_choir_song_slash_Alarm_5_gml_7_0"
);
global.msg[2] = stringsetloc(
Heaven knows
Delay 44The beauty of the soul
Delay 44and we weep Delay 44Close Message
"Heaven knows^4&The beauty of the soul^4&and we weep^4 %", "obj_ch4_PDC03_choir_song_slash_Alarm_5_gml_8_0"
);
global.msg[3] = stringsetloc(
To the majesty and
Delay 44pray we not forget
Delay 66the tale of DELTARUNE ^Delay 999 Delay 22Close MessageClose Message
"To the majesty and^4&pray we not forget^6&the tale of DELTARUNE ^9^9^2 %%", "obj_ch4_PDC03_choir_song_slash_Alarm_5_gml_9_0"
);
myd = instance_create(__view_get(e__VW.XView, 0) + 40, __view_get(e__VW.YView, 0) + 40, obj_writer); with (myd) skippable = 0; dhaver = 1; timer = 0; if (global.lang == "ja") myd.rate = 6; enum e__VW { XView, YView, WView, HView, Angle, HBorder, VBorder, HSpeed, VSpeed, Object, Visible, XPort, YPort, WPort, HPort, Camera, SurfaceID }
6
    exit;
7
}
8
if (global.lang == "ja")
9
{
10
    if (instance_exists(myd))
11
    {
12
        timer++;
13
        if (timer == 800)
14
            myd.rate = 3;
15
    }
16
}
17
if (song_started && !i_ex(obj_writer))
18
{
19
    song_started = false;
20
    snd_free(choir_song[0]);
21
    instance_destroy();
22
}