1 | if (!instance_exists(obj_heart_battle_fighting_parent)) |
2 | { |
3 | instance_destroy() |
4 | return; |
5 | } |
6 | if instance_exists(id_feather) |
7 | { |
8 | if (id_feather.state == 2) |
9 | { |
10 | image_speed = 0 |
11 | image_index = 2 |
12 | } |
13 | image_alpha = id_feather.image_alpha |
14 | } |
15 | draw_angle = point_direction(x, y, obj_heart_battle_fighting_parent.x, obj_heart_battle_fighting_parent.y) |