Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_berdlyb_spearblaster_Step_0

(view raw script w/o annotations or w/e)
1
if (con == 0 && image_index >= 3.5)
2
{
3
    snd_volume(snd_jump, 1, 0);
4
    snd_play(snd_jump);
5
    con = 1;
6
}
7
if (con == 1 && image_index >= 9.5)
8
{
9
    var sa = snd_play_pitch(snd_bell, 0.6);
10
    var sb = snd_play_pitch(snd_bell, 0.8);
11
    snd_volume(sa, 0.5, 0);
12
    snd_volume(sb, 0.5, 0);
13
    con = 2;
14
}
15
if (con == 2 && image_index >= 14.5)
16
{
17
    snd_play(snd_criticalswing);
18
    con = 3;
19
}