1 | var xx = battle_box.bbox_left + 4 + 11 |
2 | var x_offset = 48 |
3 | var yy = battle_box.bbox_top - 40 |
4 | ball_spawn_point = irandom_range(0, 2) |
5 | var ball = instance_create_depth((xx + x_offset * ball_spawn_point), yy, -100, obj_battle_enemy_attack_axis_energy_ball_boss) |
6 | ball.direction = 270 |
7 | alarm[2] = attack_interval |