1 |
if live_call() |
2 |
return global.live_result; |
3 |
if (instance_exists(obj_ceroba_attack_bullet_spawner_spawner) && obj_ceroba_attack_bullet_spawner_spawner.attack_stop == true) |
4 |
return; |
5 |
var bullet_number = 6 |
6 |
var bullet_spawn_timer = 12 |
7 |
var bullet_speed = 4 |
8 |
if (global.hotland_flag[2] == 2) |
9 |
{ |
10 |
bullet_number = 6 |
11 |
bullet_spawn_timer = 10 |
12 |
} |
13 |
if (global.hotland_flag[2] == 3) |
14 |
{ |
15 |
bullet_number = 6 |
16 |
bullet_spawn_timer = 8 |
17 |
} |
18 |
for (var i = bullet_spawn_direction; i < (360 + bullet_spawn_direction); i += (360 / bullet_number)) |
19 |
{ |
20 |
var fireball = instance_create_depth(x, y, (depth + 1), obj_ceroba_attack_fireball) |
21 |
ds_list_add(fireball_list, fireball) |
22 |
fireball.direction = i |
23 |
fireball.speed = bullet_speed |
24 |
} |
25 |
bullet_spawn_direction += bullet_spawn_direction_inc |
26 |
image_xscale = 1.5 |
27 |
image_yscale = 1.5 |
28 |
alarm[0] = bullet_spawn_timeralarm[0]if live_call()
return global.live_result;
if (instance_exists(obj_ceroba_attack_bullet_spawner_spawner) && obj_ceroba_attack_bullet_spawner_spawner.attack_stop == true)
return;
var bullet_number = 6
var bullet_spawn_timer = 12
var bullet_speed = 4
if (global.hotland_flag[2] == 2)
{
bullet_number = 6
bullet_spawn_timer = 10
}
if (global.hotland_flag[2] == 3)
{
bullet_number = 6
bullet_spawn_timer = 8
}
for (var i = bullet_spawn_direction; i < (360 + bullet_spawn_direction); i += (360 / bullet_number))
{
var fireball = instance_create_depth(x, y, (depth + 1), obj_ceroba_attack_fireball)
ds_list_add(fireball_list, fireball)
fireball.direction = i
fireball.speed = bullet_speed
}
bullet_spawn_direction += bullet_spawn_direction_inc
image_xscale = 1.5
image_yscale = 1.5
alarm[0] = bullet_spawn_timer |