| 1 |
if (!instance_exists(obj_cactony_body_a)) |
| 2 |
{ |
| 3 |
instance_destroy(); |
| 4 |
exit; |
| 5 |
} |
| 6 |
if (obj_cactony_body_a.animating == true) |
| 7 |
{ |
| 8 |
x = obj_cactony_body_a.bbox_left + disjoint_x; |
| 9 |
y = obj_cactony_body_a.bbox_top + disjoint_y; |
| 10 |
image_angle = -angle_max * ((obj_cactony_body_a.image_yscale - 1) / obj_cactony_body_a.max_rise); |
| 11 |
} |
| 12 |
else |
| 13 |
{ |
| 14 |
x = starting_point_x; |
| 15 |
y = starting_point_y; |
| 16 |
image_angle = 0; |
| 17 |
} |
| 18 |
image_speed = 0; |
| 19 |
image_index = 0; |
| 20 |
with (obj_cactony_arm_left_shadow_a) |
| 21 |
event_user(0); |