1 |
var enemy_dead = global.enemy_dead |
2 |
var enemy_spared = global.enemy_spared |
3 |
if (enemy_dead == false && enemy_spared == false) |
4 |
{ |
5 |
if (damage_disjoint_count == 0) |
6 |
{ |
7 |
if instance_exists(obj_martlet_g_head) |
8 |
{ |
9 |
with (obj_martlet_g_head) |
10 |
image_alpha = obj_martlet_g_body.image_alpha |
11 |
} |
12 |
if instance_exists(obj_martlet_g_hand_right) |
13 |
{ |
14 |
with (obj_martlet_g_hand_right) |
15 |
image_alpha = obj_martlet_g_body.image_alpha |
16 |
} |
17 |
if instance_exists(obj_martlet_g_hand_left) |
18 |
{ |
19 |
with (obj_martlet_g_hand_left) |
20 |
image_alpha = obj_martlet_g_body.image_alpha |
21 |
} |
22 |
} |
23 |
} |