Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_dunes_18_dynamic_music_Other_4

(view raw script w/o annotations or w/e)
1
if (room != rm_battle && room != rm_dunes_18)
2
    instance_destroy()
3
else
4
{
5
    var current_mus_pos = audio_sound_get_track_position(mus_dunes_cave_outdoors)
6
    audio_sound_gain(obj_radio.current_song, 0, 600)
7
    if (music_in_battle == true)
8
    {
9
        audio_sound_gain(obj_radio.current_song, 0, 0)
10
        music_in_battle = false
11
    }
12
}