Hp bars added, animation function improved