The Price of Greed
Sora, Donald, Goofy, and Aladdin struggle against the Heartless. Jafar uses the Heartless distraction to place Jasmine within a Pot Spider, leading her away. Jafar takes Jasmine deep within the Cave of Wonders, where he uses the lamp to summon the Genie. Jafar's first wish: reveal the Keyhole.
A battered Sora, Donald, Goofy, and Aladdin head to the Cave of Wonders, searching for Jafar and Jasmine. Unsure where to go, the group allows the Keyblade's instinct to lead. Suddenly, the group hears a booming sound.
That sound is the result of Jafar finding the world's Keyhole. Jafar laughs, telling the Genie that the two could rule the world together. Maleficent arrives, asking Jafar if he was thinking of going solo. Although told he was kidding, Maleficent is sure to mention to Jafar that she can easily find a replacement. She finishes, saying she is taking Princess Jasmine. Aladdin and the others arrive just in time to see Maleficent leave with the Princess. Aladdin begs Genie to save Jasmine, only to be told he is powerless; "the one with the lamp calls the shots." Jafar then uses his second wish, ordering Genie to fight the group.
Genie weakly fights the group, calling out the directions his attacks are going. This angers Jafar who uses his final wish to handle the group himself: be becoming an all-powerful Genie. As Jafar basks in his new power, Sora grabs Jafar's lamp, ordering the villain back into his lamp.
(Numbers indicate order of appearance.)
Items of note
Kingdom Hearts references