| 1 | if (image_index == 0) |
| 2 | { |
| 3 | audio_play_sound(snd_electric_flash, 1, 0); |
| 4 | image_index = 1; |
| 5 | flash_count -= 1; |
| 6 | } |
| 7 | else |
| 8 | { |
| 9 | image_index = 0; |
| 10 | } |
| 11 | if (flash_count > 0) |
| 12 | alarm[0] = 4; |