var enemy_dead = global.enemy_dead var enemy_spared = global.enemy_spared if (enemy_dead == false && enemy_spared == false) image_alpha = global.image_alpha_enemy_attacking if (enemy_dead == true) { instance_destroy() return; } else if (enemy_spared == true) { instance_destroy() return; } if (damage_disjoint_count > 0) damage_disjoint_count -= 1 else if (enemy_dead == false && enemy_spared == false && damage_disjoint_count <= 0) sprite_index = spr_bowll_leg_fore_front if (instance_exists(obj_text_damage_count) && global.fight_number == 1 && no_loop_damage_disjoint_count == false) { damage_disjoint_count = 12 no_loop_damage_disjoint_count = true } else if (!instance_exists(obj_text_damage_count)) no_loop_damage_disjoint_count = false if (damage_disjoint_count == 12) damage_disjoint_x = -50 else if (damage_disjoint_count == 10) damage_disjoint_x = 50 else if (damage_disjoint_count == 8) damage_disjoint_x = -20 else if (damage_disjoint_count == 6) damage_disjoint_x = 20 else if (damage_disjoint_count == 4) damage_disjoint_x = -10 else if (damage_disjoint_count == 2) damage_disjoint_x = 10 else if (damage_disjoint_count == 0) damage_disjoint_x = 0 if (damage_disjoint_count > 0 || global.current_hp_enemy <= 0) image_alpha = 0