1 | if (!instance_exists(obj_battle_enemy_attack_starlo_bottle)) |
2 | { |
3 | alarm[1] = 30 |
4 | return; |
5 | } |
6 | var current_bottle = irandom_range(0, 2) |
7 | while (!instance_exists(bottle[current_bottle])) |
8 | current_bottle = irandom_range(0, 2) |
9 | instance_create(bottle[current_bottle].x, (bottle[current_bottle].y - 25), obj_battle_enemy_attack_starlo_take_aim_target) |
10 | alarm[0] = attack_interval |