1 |
if (transformed == true) |
2 |
{ |
3 |
instance_destroy() |
4 |
return; |
5 |
} |
6 |
x_offset = 70 * (cos(degtorad(obj_masterswordremix_body_a.image_angle + 180))) |
7 |
y_offset = 70 * (sin(degtorad(obj_masterswordremix_body_a.image_angle + 180))) |
8 |
x = obj_masterswordremix_body_a.x + x_offset |
9 |
y = obj_masterswordremix_body_a.y - y_offset |
10 |
image_angle = obj_masterswordremix_body_a.image_angle - (starting_point_reference - obj_masterswordremix_body_a.advance_y_hand) / (2 * obj_masterswordremix_body_a.max_rise) * max_rise |