1 |
if live_call() |
2 |
return global.live_result; |
3 |
if (start_delay > 0) |
4 |
{ |
5 |
start_delay -= 1 |
6 |
return; |
7 |
} |
8 |
var flDelay = flash_delay |
9 |
if (image_alpha == 0 && no_loop == false) |
10 |
{ |
11 |
alarm[0] = flDelayalarm[0]if (image_alpha == 0)
{
audio_play_sound(snd_soul_battle_flash, 20, false)
image_alpha = 1
flash_count += 1
}
else
image_alpha = 0
no_loop = false |
12 |
no_loop = true |
13 |
} |
14 |
if (image_alpha == 1 && no_loop == false && flash_count < 3) |
15 |
{ |
16 |
alarm[0] = flDelayalarm[0]if (image_alpha == 0)
{
audio_play_sound(snd_soul_battle_flash, 20, false)
image_alpha = 1
flash_count += 1
}
else
image_alpha = 0
no_loop = false |
17 |
no_loop = true |
18 |
} |
19 |
if (flash_count == 3 && no_loop_2 == false) |
20 |
{ |
21 |
alarm[1] = 30alarm[1]instance_destroy(obj_blackout_overworld_2)
instance_destroy() |
22 |
no_loop_2 = true |
23 |
} |