1 | if (instance_number(obj_dunes_18_dynamic_music) > 1) |
2 | { |
3 | instance_destroy() |
4 | return; |
5 | } |
6 | if instance_exists(obj_audio_fade_helper) |
7 | instance_destroy(obj_audio_fade_helper) |
8 | var dynamic_mus = audio_play_sound(mus_dunes_cave_outdoors, 1, 1) |
9 | var dynamic_mus_pos = audio_sound_get_track_position(obj_radio.current_song) |
10 | audio_sound_set_track_position(dynamic_mus, dynamic_mus_pos) |
11 | audio_sound_gain(dynamic_mus, 0, 0) |
12 | audio_sound_gain(dynamic_mus, 1, 300) |
13 | music_in_battle = false |