# ● Execute Animation Plus Hit
#--------------------------------------------------------------------------
def execute_animation_plus_hit(item)
return if item == nil
return if !SceneManager.scene_is?(Scene_Battle)
self.animation_id = $1.to_i if item.note =~ /<Hit Animation = (\d+)>/i
if self.dead?
if self.is_a?(Game_Enemy)
battler = $data_enemies[self.enemy_id]
else
battler = $data_actors[self.id]
end
self.animation_id = $1.to_i if battler.note =~ /<Death Animation = (\d+)>/i
end
end