The sentence that has a shift in its verb voice is:
"He wanted to walk, but he was asked by his friend to take the bus."
In this sentence, "wanted" is in active voice, while "was asked" is in passive voice. This creates a shift in verb voice within the sentence.