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