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