now main character cannot pass through enemies,other changes