1 | if (card_draw_warning_rectangle == false) |
2 | { |
3 | if (!audio_is_playing(snd_bullet_warning)) |
4 | audio_play_sound(snd_bullet_warning, 1, 0) |
5 | card_draw_warning_rectangle = true |
6 | } |
7 | else |
8 | card_draw_warning_rectangle = false |
9 | if (card_warning_number < card_warning_max) |
10 | { |
11 | card_warning_number++ |
12 | alarm[0] = 4 |
13 | } |
14 | else |
15 | { |
16 | alarm[1] = activation_delay |
17 | card_warning_number = 0 |
18 | } |