1 |
if live_call() |
2 |
return global.live_result; |
3 |
var battle_box = obj_dialogue_box_battle_transformation_any |
4 |
for (var i = 0; i < bullet_number_max; i++) |
5 |
{ |
6 |
if (timer == floor(i * (240 / bullet_number_max / bullet_speed))) |
7 |
{ |
8 |
var bullet = instance_create_depth(battle_box.x, (battle_box.y - 80), -100, obj_battle_enemy_attack_ceroba_flower_circle_flower) |
9 |
bullet.bullet_speed = bullet_speed |
10 |
bullet.attack_dir = attack_dir |
11 |
bullet.bullet_spawner = id |
12 |
bullet.target = battle_box |
13 |
bullet_number_current += 1 |
14 |
} |
15 |
} |
16 |
if (bullet_number_current >= bullet_number_max) |
17 |
{ |
18 |
if (!alarm[0]) |
19 |
alarm[0] = 5alarm[0]if live_call()
return global.live_result;
with (obj_battle_enemy_attack_ceroba_flower_circle_flower)
{
if (state == 0 && bullet_spawner == other.id)
state = 1
} |
20 |
} |
21 |
timer += 1 |