1 |
if (obj_cactony_body_a.sprite_index == spr_cactony_body_critical) |
2 |
sprite_index = spr_cactony_body_critical_shadow |
3 |
else |
4 |
sprite_index = spr_cactony_body_normal_shadow |
5 |
if (global.image_alpha_enemy_attacking < 1) |
6 |
image_alpha = 1 |
7 |
else |
8 |
image_alpha = obj_cactony_body_a.image_alpha |
9 |
x = obj_cactony_body_a.x |
10 |
y = obj_cactony_body_a.y |
11 |
image_xscale = obj_cactony_body_a.image_xscale |
12 |
image_yscale = obj_cactony_body_a.image_yscale |
13 |
if (obj_cactony_body_a.damage_disjoint_count > 0) |
14 |
image_alpha = 0 |