1 | if is_green |
2 | { |
3 | var greenfrog = instance_create_depth(x, y, (depth - 1), obj_battle_enemy_attack_space_green_frog) |
4 | with (greenfrog) |
5 | { |
6 | direction = irandom_range(45, 90) |
7 | speed = 5 |
8 | } |
9 | } |
10 | instance_destroy() |
11 | instance_destroy(other) |