Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_musicer_bird_Create_0

(view raw script w/o annotations or w/e)
1
if (!snd_is_playing(global.currentsong[1]))
2
{
3
    global.currentsong[0] = snd_init("bird.ogg");
4
    global.currentsong[1] = mus_loop_ext(global.currentsong[0], 1, 1);
5
}
6
image_index = 1;
7
image_speed = 0;
8
visible = 1;
9
if (room != room_field_start)
10
{
11
    visible = 0;
12
    instance_destroy();
13
}