| 1 |
function scr_audio_stop_soundscr_audio_stop_soundfunction scr_audio_stop_sound(arg0)
{
audio_array_val = 0;
sound_y[audio_array_val] = 153;
audio_array_val += 1;
sound_y[audio_array_val] = 136;
audio_array_val += 1;
sound_y[audio_array_val] = 138;
audio_array_val += 1;
sound_y[audio_array_val] = 136;
audio_array_val += 1;
sound_y[audio_array_val] = 140;
audio_array_val += 1;
sound_y[audio_array_val] = 138;
audio_array_val += 1;
sound_y[audio_array_val] = 486;
audio_array_val += 1;
sound_y[audio_array_val] = 487;
audio_array_val += 1;
sound_y[audio_array_val] = 488;
audio_array_val += 1;
sound_y[audio_array_val] = 489;
audio_array_val += 1;
sound_y[audio_array_val] = 490;
audio_array_val += 1;
sound_y[audio_array_val] = 491;
audio_array_val += 1;
sound_y[audio_array_val] = 492;
audio_array_val += 1;
sound_y[audio_array_val] = 493;
audio_array_val += 1;
sound_y[audio_array_val] = 494;
audio_array_val += 1;
sound_y[audio_array_val] = 495;
audio_array_val += 1;
sound_y[audio_array_val] = 498;
audio_array_val += 1;
sound_y[audio_array_val] = 512;
audio_array_val += 1;
sound_y[audio_array_val] = 117;
audio_array_val += 1;
sound_y[audio_array_val] = 141;
audio_array_val += 1;
sound_y[audio_array_val] = 119;
audio_array_val += 1;
sound_y[audio_array_val] = 154;
audio_array_val += 1;
sound_y[audio_array_val] = 155;
audio_array_val += 1;
sound_y[audio_array_val] = 122;
audio_array_val += 1;
sound_y[audio_array_val] = 156;
audio_array_val += 1;
sound_y[audio_array_val] = 124;
audio_array_val += 1;
sound_y[audio_array_val] = 125;
audio_array_val += 1;
sound_y[audio_array_val] = 162;
audio_array_val += 1;
sound_y[audio_array_val] = 206;
audio_array_val += 1;
sound_y[audio_array_val] = 513;
audio_array_val += 1;
sound_y[audio_array_val] = 208;
for (i = 0; i < array_length_1d(sound_y); i += 1)
{
var audio_gain = audio_sound_get_gain(sound_y[i]);
if (audio_gain <= arg0)
audio_stop_sound(sound_y[i]);
}
} (arg0) |
| 2 |
{ |
| 3 |
audio_array_val = 0; |
| 4 |
sound_y[audio_array_val] = 153; |
| 5 |
audio_array_val += 1; |
| 6 |
sound_y[audio_array_val] = 136; |
| 7 |
audio_array_val += 1; |
| 8 |
sound_y[audio_array_val] = 138; |
| 9 |
audio_array_val += 1; |
| 10 |
sound_y[audio_array_val] = 136; |
| 11 |
audio_array_val += 1; |
| 12 |
sound_y[audio_array_val] = 140; |
| 13 |
audio_array_val += 1; |
| 14 |
sound_y[audio_array_val] = 138; |
| 15 |
audio_array_val += 1; |
| 16 |
sound_y[audio_array_val] = 486; |
| 17 |
audio_array_val += 1; |
| 18 |
sound_y[audio_array_val] = 487; |
| 19 |
audio_array_val += 1; |
| 20 |
sound_y[audio_array_val] = 488; |
| 21 |
audio_array_val += 1; |
| 22 |
sound_y[audio_array_val] = 489; |
| 23 |
audio_array_val += 1; |
| 24 |
sound_y[audio_array_val] = 490; |
| 25 |
audio_array_val += 1; |
| 26 |
sound_y[audio_array_val] = 491; |
| 27 |
audio_array_val += 1; |
| 28 |
sound_y[audio_array_val] = 492; |
| 29 |
audio_array_val += 1; |
| 30 |
sound_y[audio_array_val] = 493; |
| 31 |
audio_array_val += 1; |
| 32 |
sound_y[audio_array_val] = 494; |
| 33 |
audio_array_val += 1; |
| 34 |
sound_y[audio_array_val] = 495; |
| 35 |
audio_array_val += 1; |
| 36 |
sound_y[audio_array_val] = 498; |
| 37 |
audio_array_val += 1; |
| 38 |
sound_y[audio_array_val] = 512; |
| 39 |
audio_array_val += 1; |
| 40 |
sound_y[audio_array_val] = 117; |
| 41 |
audio_array_val += 1; |
| 42 |
sound_y[audio_array_val] = 141; |
| 43 |
audio_array_val += 1; |
| 44 |
sound_y[audio_array_val] = 119; |
| 45 |
audio_array_val += 1; |
| 46 |
sound_y[audio_array_val] = 154; |
| 47 |
audio_array_val += 1; |
| 48 |
sound_y[audio_array_val] = 155; |
| 49 |
audio_array_val += 1; |
| 50 |
sound_y[audio_array_val] = 122; |
| 51 |
audio_array_val += 1; |
| 52 |
sound_y[audio_array_val] = 156; |
| 53 |
audio_array_val += 1; |
| 54 |
sound_y[audio_array_val] = 124; |
| 55 |
audio_array_val += 1; |
| 56 |
sound_y[audio_array_val] = 125; |
| 57 |
audio_array_val += 1; |
| 58 |
sound_y[audio_array_val] = 162; |
| 59 |
audio_array_val += 1; |
| 60 |
sound_y[audio_array_val] = 206; |
| 61 |
audio_array_val += 1; |
| 62 |
sound_y[audio_array_val] = 513; |
| 63 |
audio_array_val += 1; |
| 64 |
sound_y[audio_array_val] = 208; |
| 65 |
for (i = 0; i < array_length_1d(sound_y); i += 1) |
| 66 |
{ |
| 67 |
var audio_gain = audio_sound_get_gain(sound_y[i]); |
| 68 |
if (audio_gain <= arg0) |
| 69 |
audio_stop_sound(sound_y[i]); |
| 70 |
} |
| 71 |
} |