1 | var battle_box = 3154 |
2 | var spawn_dir = irandom_range(0, 359) |
3 | var spawn_x = 320 + (lengthdir_x(250, spawn_dir)) |
4 | var spawn_y = 320 + (lengthdir_y(250, spawn_dir)) |
5 | instance_create_depth(spawn_x, spawn_y, -100, obj_battle_enemy_attack_axis_energy_ball) |
6 | alarm[0] = attack_interval |