1 |
if (live_call()) |
2 |
return global.live_result; |
3 |
state = 1; |
4 |
spin_default_x = x; |
5 |
spin_default_y = y; |
6 |
spin_direction = angle_position_current; |
7 |
var sound; |
8 |
switch (sprite_index) |
9 |
{ |
10 |
case spr_battle_enemy_attack_martlet_feather_1: |
11 |
case spr_battle_enemy_attack_martlet_feather_2: |
12 |
case spr_battle_enemy_attack_martlet_feather_3: |
13 |
sound = audio_play_sound(snd_mart_spiral_attack_2, 20, 0); |
14 |
break; |
15 |
case spr_battle_enemy_attack_martlet_feather_4: |
16 |
case spr_battle_enemy_attack_martlet_feather_5: |
17 |
sound = audio_play_sound(snd_mart_spiral_attack_1, 20, 0); |
18 |
break; |
19 |
default: |
20 |
sound = audio_play_sound(snd_mart_spiral_attack_1, 20, 0); |
21 |
} |
22 |
audio_sound_gain(sound, 0.2, 0); |