1 |
var flDelay = flash_delay |
2 |
if (image_alpha == 0 && no_loop == false) |
3 |
{ |
4 |
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 |
5 |
no_loop = true |
6 |
} |
7 |
if (image_alpha == 1 && no_loop == false && flash_count < 3) |
8 |
{ |
9 |
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 |
10 |
no_loop = true |
11 |
} |
12 |
if (flash_count == 3 && no_loop_2 == false) |
13 |
{ |
14 |
alarm[1] = flDelayalarm[1]instance_create(x, y, obj_heart_initiate_battle_quick_2)
instance_destroy() |
15 |
no_loop_2 = true |
16 |
} |