| 1 | if (start_delay > 0) |
| 2 | { |
| 3 | start_delay -= 1; |
| 4 | exit; |
| 5 | } |
| 6 | var flDelay = flash_delay; |
| 7 | if (image_alpha == 0 && no_loop == false) |
| 8 | { |
| 9 | alarm[0] = flDelay; |
| 10 | no_loop = true; |
| 11 | } |
| 12 | if (image_alpha == 1 && no_loop == false && flash_count < 3) |
| 13 | { |
| 14 | alarm[0] = flDelay; |
| 15 | no_loop = true; |
| 16 | } |
| 17 | if (flash_count == 3 && no_loop_2 == false) |
| 18 | { |
| 19 | alarm[1] = flDelay; |
| 20 | no_loop_2 = true; |
| 21 | } |