Deltarune script viewer

← back to main script listing

gml_Object_obj_town_shelter_event_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("mus_birdnoise.ogg");
4
    global.currentsong[1] = mus_loop_ext(global.currentsong[0], 1, 1);
5
}
6
dk = snd_loop(snd_smile);
7
snd_volume(dk, 0, 0);
8
snd_pitch(dk, 0.15);
9
scr_depth
scr_depth

function scr_depth() { depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();