| 1 |
var spacing_h = obj_battle_enemy_attack_cactony_needle_green_generator.spacing_h; |
| 2 |
if (move_direction == 1 && bbox_left > obj_dialogue_box_battle_transformation_any.bbox_right) |
| 3 |
{ |
| 4 |
x -= spacing_h; |
| 5 |
while (place_meeting(x, y, obj_battle_enemy_attack_cactony_needle_green_white)) |
| 6 |
x -= spacing_h; |
| 7 |
} |
| 8 |
else if (move_direction == -1 && bbox_right < obj_dialogue_box_battle_transformation_any.bbox_left) |
| 9 |
{ |
| 10 |
x += spacing_h; |
| 11 |
while (place_meeting(x, y, obj_battle_enemy_attack_cactony_needle_green_white)) |
| 12 |
x += spacing_h; |
| 13 |
} |