Deltarune (Chapter 1) 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 (room == room_field_start || room == room_field_forest)
2
    global.flag[31 disable_loud_steps] = 0;
3
if (!snd_is_playing(global.currentsong[1]))
4
{
5
    global.currentsong[0] = snd_init("bird.ogg");
6
    global.currentsong[1] = mus_loop_ext(global.currentsong[0], 1, 1);
7
}
8
image_index = 1;
9
image_speed = 0;
10
visible = 1;
11
if (room != room_field_start)
12
{
13
    visible = 0;
14
    instance_destroy();
15
}