1 |
if (!instance_exists(obj_martlet_g_body)) |
2 |
{ |
3 |
instance_destroy() |
4 |
return; |
5 |
} |
6 |
if (obj_martlet_g_body.animating == true) |
7 |
{ |
8 |
if (obj_martlet_g_body.fight_mode == false) |
9 |
x = obj_martlet_g_body.x - 26 |
10 |
else |
11 |
x = obj_martlet_g_body.x - 36 |
12 |
y = obj_martlet_g_body.hand_left_displacement_y |
13 |
if (obj_martlet_g_body.fight_mode == true) |
14 |
image_angle = (-fight_mode_angle_max) * ((obj_martlet_g_body.image_yscale - 1) / obj_martlet_g_body.max_rise_g) |
15 |
} |
16 |
else |
17 |
{ |
18 |
x = starting_point_x |
19 |
y = starting_point_y |
20 |
image_angle = 0 |
21 |
} |
22 |
sprite_index = hand_left_sprite |
23 |
image_speed = 0 |
24 |
image_index = 0 |
25 |
with (obj_martlet_g_hand_left_shadow) |
26 |
event_user(0) |