Deltarune (Chapter 1) script viewer

← back to main script listing

gml_Object_obj_musicer_forest_Create_0

(view raw script w/o annotations or w/e)
1
doit = 1;
2
if (global.plot < 70 && room == room_forest_area1)
3
    doit = 0;
4
if (doit == 1)
5
{
6
    if (!snd_is_playing(global.currentsong[1]))
7
    {
8
        global.currentsong[0] = snd_init("forest.ogg");
9
        global.currentsong[1] = mus_loop_ext(global.currentsong[0], 0.7, 1);
10
    }
11
}