1 | if live_call() |
2 | return global.live_result; |
3 | var box = obj_dialogue_box_battle_transformation_any |
4 | image_alpha = 0 |
5 | speed = clamp((7 - (abs(320 - x)) * 0.01), 0, 999) |
6 | target_x = irandom_range(box.bbox_left, box.bbox_right) |
7 | target_dist = target_x - x |
8 | gravity = 0.15 |
9 | direction = point_direction(x, y, irandom_range(box.bbox_left, box.bbox_right), (box.y - 80)) |
10 | image_angle = direction + 90 |