1 |
function scr_audio_stop_soundscr_audio_stop_soundfunction scr_audio_stop_sound(argument0) //gml_Script_scr_audio_stop_sound
{
audio_array_val = 0
sound_y[audio_array_val] = mus_apprehension_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_dalvbattle_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_dalvopening_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_dalvbattle_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_decibat_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_dalvopening_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_danza_attack_01_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_danza_attack_02_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_danza_attack_03_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_danza_attack_04_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_danza_attack_05_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_danza_attack_06_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_danza_attack_07_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_danza_attack_08_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_danza_attack_09_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_danza_attack_10_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_danza_attack_finale_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_danza_battle_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_floweynew_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_funsized_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_genobattle_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_mart_geno_wind_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_martletbattle_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_nobodycame_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_occupied_turf_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_prebattle1_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_prebattle2_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_battle_snowdin
audio_array_val += 1
sound_y[audio_array_val] = mus_trial_by_fury
audio_array_val += 1
sound_y[audio_array_val] = mus_prebattle3_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_heatwave_approaching
for (i = 0; i < array_length_1d(sound_y); i += 1)
{
var audio_gain = audio_sound_get_gain(sound_y[i])
if (audio_gain <= argument0)
audio_stop_sound(sound_y[i])
}
} (argument0) //gml_Script_scr_audio_stop_sound |
2 |
{ |
3 |
audio_array_val = 0 |
4 |
sound_y[audio_array_val] = mus_apprehension_yellow |
5 |
audio_array_val += 1 |
6 |
sound_y[audio_array_val] = mus_dalvbattle_yellow |
7 |
audio_array_val += 1 |
8 |
sound_y[audio_array_val] = mus_dalvopening_yellow |
9 |
audio_array_val += 1 |
10 |
sound_y[audio_array_val] = mus_dalvbattle_yellow |
11 |
audio_array_val += 1 |
12 |
sound_y[audio_array_val] = mus_decibat_yellow |
13 |
audio_array_val += 1 |
14 |
sound_y[audio_array_val] = mus_dalvopening_yellow |
15 |
audio_array_val += 1 |
16 |
sound_y[audio_array_val] = mus_danza_attack_01_yellow |
17 |
audio_array_val += 1 |
18 |
sound_y[audio_array_val] = mus_danza_attack_02_yellow |
19 |
audio_array_val += 1 |
20 |
sound_y[audio_array_val] = mus_danza_attack_03_yellow |
21 |
audio_array_val += 1 |
22 |
sound_y[audio_array_val] = mus_danza_attack_04_yellow |
23 |
audio_array_val += 1 |
24 |
sound_y[audio_array_val] = mus_danza_attack_05_yellow |
25 |
audio_array_val += 1 |
26 |
sound_y[audio_array_val] = mus_danza_attack_06_yellow |
27 |
audio_array_val += 1 |
28 |
sound_y[audio_array_val] = mus_danza_attack_07_yellow |
29 |
audio_array_val += 1 |
30 |
sound_y[audio_array_val] = mus_danza_attack_08_yellow |
31 |
audio_array_val += 1 |
32 |
sound_y[audio_array_val] = mus_danza_attack_09_yellow |
33 |
audio_array_val += 1 |
34 |
sound_y[audio_array_val] = mus_danza_attack_10_yellow |
35 |
audio_array_val += 1 |
36 |
sound_y[audio_array_val] = mus_danza_attack_finale_yellow |
37 |
audio_array_val += 1 |
38 |
sound_y[audio_array_val] = mus_danza_battle_yellow |
39 |
audio_array_val += 1 |
40 |
sound_y[audio_array_val] = mus_floweynew_yellow |
41 |
audio_array_val += 1 |
42 |
sound_y[audio_array_val] = mus_funsized_yellow |
43 |
audio_array_val += 1 |
44 |
sound_y[audio_array_val] = mus_genobattle_yellow |
45 |
audio_array_val += 1 |
46 |
sound_y[audio_array_val] = mus_mart_geno_wind_yellow |
47 |
audio_array_val += 1 |
48 |
sound_y[audio_array_val] = mus_martletbattle_yellow |
49 |
audio_array_val += 1 |
50 |
sound_y[audio_array_val] = mus_nobodycame_yellow |
51 |
audio_array_val += 1 |
52 |
sound_y[audio_array_val] = mus_occupied_turf_yellow |
53 |
audio_array_val += 1 |
54 |
sound_y[audio_array_val] = mus_prebattle1_yellow |
55 |
audio_array_val += 1 |
56 |
sound_y[audio_array_val] = mus_prebattle2_yellow |
57 |
audio_array_val += 1 |
58 |
sound_y[audio_array_val] = mus_battle_snowdin |
59 |
audio_array_val += 1 |
60 |
sound_y[audio_array_val] = mus_trial_by_fury |
61 |
audio_array_val += 1 |
62 |
sound_y[audio_array_val] = mus_prebattle3_yellow |
63 |
audio_array_val += 1 |
64 |
sound_y[audio_array_val] = mus_heatwave_approaching |
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 <= argument0) |
69 |
audio_stop_sound(sound_y[i]) |
70 |
} |
71 |
} |