1 | if (image_alpha == 0) |
2 | { |
3 | if (!audio_is_playing(snd_bullet_warning)) |
4 | audio_play_sound(snd_bullet_warning, 1, 0) |
5 | image_alpha = 1 |
6 | flash_count -= 1 |
7 | } |
8 | else |
9 | { |
10 | image_alpha = 0 |
11 | if (flash_count <= 0) |
12 | instance_destroy() |
13 | } |
14 | alarm[0] = 15 |