Deltarune script viewer

← back to main script listing

gml_Object_obj_town_shelter_event_ch1_Create_0

(view raw script w/o annotations or w/e)
1
if (!snd_is_playing_ch1(global.currentsong[1]))
2
{
3
    global.currentsong[0] = snd_init_ch1("mus_birdnoise.ogg");
4
    global.currentsong[1] = mus_loop_ext_ch1(global.currentsong[0], 1, 1);
5
}
6
dk = snd_loop_ch1(snd_smile_ch1);
7
snd_volume_ch1(dk, 0, 0);
8
snd_pitch_ch1(dk, 0.15);
9
scr_depth_ch1
scr_depth_ch1

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