1 |
var battle_box = 3154 |
2 |
if (!instance_exists(obj_heart_battle_fighting_parent)) |
3 |
{ |
4 |
instance_destroy() |
5 |
return; |
6 |
} |
7 |
if instance_exists(obj_heart_battle_fighting_parent) |
8 |
{ |
9 |
x = obj_heart_battle_fighting_parent.x + (lengthdir_x(shield_offset, obj_heart_battle_fighting_parent.soul_direction)) |
10 |
y = obj_heart_battle_fighting_parent.y + (lengthdir_y(shield_offset, obj_heart_battle_fighting_parent.soul_direction)) |
11 |
} |
12 |
direction = obj_heart_battle_fighting_axis.soul_direction |
13 |
image_angle = direction |