Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_ch4_churchb_fountain_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_churchb_fountain_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 = 7;
38
    alarm[4]
 = 60;
gml_Object_obj_ch4_churchb_fountain_Alarm_4.gml

con++;
39
}
40
if (con == 8 && !instance_exists(obj_writer))
41
{
42
    con = 99;
43
    made = 1;
44
    instance_create(x + (sprite_width / 2), y + (sprite_width / 2) + 20, obj_ch4_churchb_darkfountain_event);
45
}