Ali Baba

Ali Baba (アリババ) is the alternate reality doppelgänger of Miles "Tails" Prower from the world of the Arabian Nights, who appears in Sonic and the Secret Rings.

Description
He is first encountered in the Sand Oasis after being rescued from the minions of Erazor Djinn. He is later seen again after Erazor Djinn summons an Ifrit and announces that Sonic only has half his life left. They go to Ali Baba where he explains that his friend Sinbad may be able to help them. He is seen again when Sonic and Sinbad are fighting and questions the ability to gather enough water to put out a fire genie.

At the end, he had apparently gone on many travels with Sonic and Sinbad until Sonic returned back to his home.

Quotes

 * "Oh thank you, I thought I was done for." -Ali Baba after being saved by Sonic.
 * "Tails? My...my name is Ali Baba." -Ali Baba when Sonic believes he's Tails.
 * "Well, according to rumor, he was fighting some pirates when he was taken away by the Rukh. It's a giant bird. Well, not exactly a bird. It's more like a living fossil." -Ali Baba explaining what the Rukh is and what it did to Sinbad
 * "The problem is, where are we going to get ENOUGH water to put out a fire genie, right?" -Ali Baba when Sonic insults Sinbad's idea for the Ifrit.

Trivia

 * Ali Baba's shoes appear to be a simple redesign of Tails' original shoes.
 * Ali Baba is the main character in Ali Baba and the 40 Thieves.
 * In the game, Ali Baba is seen to give Sonic a magic carpet to allow him to reach Levitated Ruin. This is not true to the story as it is "The Three Brothers" story only which includes a magic carpet, meaning Ali Baba would never have had one (his legend is that he opened a mysterious cave with the words he learnt in passing from the 40 Thieves "Open Sesame").