1 | if (global.image_alpha_enemy_attacking < 1) |
2 | image_alpha = 1 |
3 | else |
4 | image_alpha = obj_insomnitot_body_a.image_alpha |
5 | x = obj_insomnitot_body_a.x |
6 | y = obj_insomnitot_body_a.y |
7 | image_xscale = obj_insomnitot_body_a.image_xscale |
8 | image_yscale = obj_insomnitot_body_a.image_yscale |
9 | if (obj_insomnitot_body_a.damage_disjoint_count > 0 || global.current_hp_enemy <= 0) |
10 | image_alpha = 0 |