1 | var distance = 120 |
2 | var distance_offset = 60 |
3 | var boundary_left = obj_dialogue_box_battle_transformation_any.bbox_left |
4 | var boundary_right = obj_dialogue_box_battle_transformation_any.bbox_right |
5 | var boundary_top = obj_dialogue_box_battle_transformation_any.bbox_top |
6 | var boundary_bottom = obj_dialogue_box_battle_transformation_any.bbox_bottom |
7 | instance_create(choose((boundary_left - distance), (boundary_right + distance)), irandom_range((boundary_top + distance_offset), (boundary_bottom - distance_offset)), obj_battle_enemy_attack_martlet_package) |
8 | counter_current += 1 |
9 | if (counter_current < counter_max) |
10 | alarm[0] = alarm_count |