1 | if (image_blend == c_red) |
2 | image_blend = c_white |
3 | else |
4 | { |
5 | audio_play_sound(snd_bullet_warning, 1, 0) |
6 | image_blend = c_red |
7 | feather_explode_counter += 1 |
8 | } |
9 | alarm[1] = 3 |
10 | if (feather_explode_counter > 3) |
11 | { |
12 | var i = 1 |
13 | var angle_base = irandom_range(0, 359) |
14 | while (i <= 3) |
15 | { |
16 | with (instance_create(x, y, obj_battle_enemy_attack_martlet_feather_flow_explosion)) |
17 | angle = angle_base + 120 * i |
18 | i++ |
19 | } |
20 | audio_play_sound(snd_mart_spiral_attack_2, 1, 0) |
21 | instance_destroy() |
22 | } |