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