1 | function scr_music_sudden_stop |
2 | { |
3 | with (instance_create(0, 0, obj_audio_sudden_stop_helper)) |
4 | { |
5 | audio_to_fade = argument0 |
6 | fade_strength = argument1 / 100 |
7 | audio_stop = argument2 |
8 | if (audio_stop == false) |
9 | audio_resume_sound(argument0) |
10 | } |
11 | } |