1 | if live_call() |
2 | return global.live_result; |
3 | var dir = irandom_range(0, 359) |
4 | var distance = 140 |
5 | instance_create_depth((battle_box.x + (lengthdir_x(distance, dir))), (battle_box.y + (lengthdir_y(distance, dir))), -100, obj_battle_enemy_attack_axis_energy_ball_pulse) |
6 | alarm[0] = attack_interval |
7 | attack_number-- |
8 | if (attack_number <= 0) |
9 | instance_destroy() |