1 | counter += image_speed |
2 | if can_play_sound |
3 | { |
4 | switch counter |
5 | { |
6 | case 3.2: |
7 | case 5.6: |
8 | case 8: |
9 | audio_play_sound(snd_bullet_warning, 20, 0) |
10 | break |
11 | } |
12 | |
13 | } |