Agrabah

Agrabah is a world from the ' series, based on Disney's 1992 film ', as well as its sequel, . It appears in all the Kingdom Hearts games except Kingdom Hearts Birth by Sleep, Kingdom Hearts 3D: Dream Drop Distance, and Kingdom Hearts III. Jasmine, one of the Princesses of Heart, resides in this world. The Keyhole for this world is hidden deep in The Cave of Wonders, within the Lamp Chamber.

The world of Agrabah is divided into two regions. The first region is the city of Agurabā (アグラバー) itself, where the Sultan's Palace is located. Sora and his party arrive in Agrabah's Jōmon Hiroba (城門広場) here, where they are confronted by their first enemies in the world. Connecting through a door is Mono'okibeya (物置部屋), with no enemies and a save point, as well as a few other goodies. Heading north from the Plaza heads to the Ōdōri (大通り). Continuing north takes them to the Ōkyū Mae (王宮前), where the battle with the Pot Centipede begins, eventually playing out throughout the entire city. Heading west from Main Street sends them into the Uradōri (裏通り), while entering the high entrance to the east goes into the Bazāru (バザール). These areas interconnect on many levels, both high and low.

Shimmying up the pole on Agrabah's Main Street will take Sora's group to Arajin no Ie (アラジンの家) and another save point.

Leaving the city initially takes Sora's group to the Sabaku (砂漠), but once the Carpet joins them they can reach the Dōkutsu Iriguchi (洞窟入口), where the Cave of Wonders Guardian, which serves as the cave's entrance, must be fought as a boss battle before the party is permitted to enter.

Heading in, the group enters the Cave of Wonders, simply known as the Mahō no Dōkutsu (魔法の洞窟), at its Iriguchi (入口), with a single boulder trap. Going forward leads them to the Hiroma (広間), a massive room full of traps such as boulders, squirting water, and, of course, Heartless. Heading through the door on the opposite side leads to the Sokonashi no Ma (底なしの間), a narrow ledge next to a deep chasm. By dropping into the ravines throughout the Cave, Sora and his group are sent into a set of lower chambers. Continuing forward through the Bottomless Hall takes the party to the final room, the Hōmotsugura (宝物庫); it is from here that they eventually gain access to the Ranpu no Ma (ランプの間) and the Jafar boss battle. Below the Lamp Chamber is the Saishinbu (最深部), filled with lava and stone pillars.

The lower chambers are mostly full of water and are navigated by swimming. The Kurayami no Ma (暗闇の間) holds a save point, a handy place for making sure Aladdin is in your party to successfully gain all of the lower chamber treasures. The Ibutsu no Ma (遺物の間), Kakusareta Heya (隠された部屋), and the Chinmoku no Ma (沈黙の間) also hold various treasures and triggers that only Abu can access.

Kingdom Hearts Chain of Memories
Agrabah is recreated inside Castle Oblivion as a figment of Sora's and Riku's memories.

Kingdom Hearts 358/2 Days
Due to the sandstorms caused by the Antlion and the reconstruction, many areas available in Kingdom Hearts have been destroyed or closed off, such as the Storage, Aladdin's House, Alley, and Bazaar. However, the Plaza, Main Street, and Palace Gates—renamed Agrabah Gate, Agrabah Street, and The Palace, respectively—are still available, only with some extra piles of sand and construction equipment. The Cave of Wonders is still available, but has undergone a transformation. It consists of an Irikuchi Ōhiroma (入口大広間) that leads up to the next level, the Hashira no Ma (柱の間) filled with pillars that sink and rink. Beyond that is the Naraku no Ma (奈落の間) that has a stairway above a huge drop back down to the Entrance. Beyond the Abyss is the Tozasareta Heya (閉ざされた部屋), which can only be unlocked by lighting three targets scattered throughout the Cave.

After the battle with Pete, only the Entrance Hall becomes available. However, a new path to the Himitsu no Chika (秘密の地下) is later found by Roxas and Xion when tracking a Large Armor. Activating the mechanisms here unlocks a new path that leads to the Lamp Chamber, which was been relocated.

Kingdom Hearts II
Agrabah itself takes on a much different appearance in Kingdom Hearts II. It only has two areas, but each of these areas are larger with many bridges and pits. Aside from the main city of Agurabā Shigai (アグラバー市街), the Bazāru (バザール) holds many enemies, though no shops. However, the Shōnin no Mise (商人の店), the headquarters of the mischievous merchant who causes much of the chaos in the game, has a Moogle shop in it. Ōkyū Mae (王宮前) can also be reached through the main city.

Going outside the Jōheki no Soto (城壁の外) gives Sora's group more options. The first, and in Sora's first visit to the world, only option available is the Mahō no Dōkutsu: Iriguchi (魔法の洞窟：入口). However, the Cave of Wonders of Kingdom Hearts II is completely different. It has but one floor, divided into the Kyozō no Tani (巨像の谷) and the Shugo-zō no Sumika (守護像の住処). The focus of the Cave this time is the Shiren no Ma (試練の間). Here, the gang must defeat a number of Heartless in a short amount of time. If they succeed, they can enter the Hōmotsuko (宝物庫).

In the second part of the game, the other area from the Palace Walls opens up, the Umoreta Haikyo (埋もれた廃墟), which can only be negotiated by Sora riding alone on Carpet. He can use Carpet to reach the Haikyo no Isshitsu (廃墟の一室), which helps him and his party unlock the secret of Jafar.

Kingdom Hearts coded
Agrabah is mostly the same as it was in the first game; however, there are two extras room, the Hajimari no Ma (始まりの間) and the Shiren no Michi (試練の道), which are inside the Cave. Additionally, the Kagiana (鍵穴) is accessible, containing the Saishinbu Ana (最深部穴).

Kingdom Hearts χ[chi]
After escaping the Guards, Aladdin and Abu return home and learn that Agrabah is under attack. Rushing on to the scene, Aladdin and Abu confront the Wily Bandit, which manages to defeat Aladdin. Abu jumps onto the Heartless in retaliation, but it disappears with Abu and leaves Aladdin unconscious in the desert.

Upon arrival, meets Aladdin, who suggests that Player turn back due to the danger in Agrabah. Ignoring Aladdin's warning, Player battles Heartless in the city, and is eventually confronted by the Wily Bandit. Aladdin jumps into the fray, but the Wily Bandit disappears again. After Aladdin explains what had happened to Abu, Player offers their assistance. However, Aladdin rejects their offer, as he is unwilling to endanger Player's life, but promises to contact them if he needs any help.

Depressed after failing to find Abu in the Starless Sands, Aladdin reunites with Player and voices his lack of faith in ever finding Abu. Admitting that he had hoped a set of mystic rubies would lead him to his missing friend, Aladdin gives in to his doubt. After Player provides Aladdin with a much needed pep talk, Aladdin's hope is restored and he accepts Player's help in searching for Abu. While investigating the local bulletin board, Player learns that there had been monkeys seen terrorizing the oasis, and the pair go to the oasis to see if Abu is with them. Although they do not find Abu, Aladdin decides to check another location, but he grows concerned because it is so far from town that it would be dark by the time they got there and they would get lost.

When Aladdin and Player return to town to try and figure out how to navigate the Starless Sands, they find a group of Red Bandits stealing Aladdin's rubies. The pair track down the Red Bandits and retrieve the rubies, but Aladdin is discouraged because he still does not know how to use them to find Abu. Clutching the rubies, Aladdin wishes that he knew how to find Abu, activating the rubies, which fly from his hands and light a path through the Starless Sands to the Wily Bandit's hideout. Here, Aladdin and Player fight through hordes of Heartless until they reach the Wily Bandit. After they defeat the Wily Bandit, Abu revealing himself to administer the final blow. Aladdin and Abu reunite, but Abu feels jealous when he notices that Player is with Aladdin, who assures Abu that Player is not a threat and that no one could replace him as his best friend.

Returning to Agrabah, Aladdin thanks Player their help and welcomes them to come back to the city before the two part ways.

Kingdom Hearts Union χ
Following the events of the Keyblade War, Player and rest of the Dandelions lose their memories of the previous world, causing Player to relive their experiences in Agrabah.

Player makes contact with Jafar, who sends them out in search of a fragment of the golden scarab. After retrieving it, Player and Chirithy wait to meet Jafar in the desert, where Chirithy voices his distrust of Jafar and wonders if they should have told Aladdin before getting involved with him. When Jafar arrives, he unites the two fragments and follows the flying the golden scarab to the Cave of Wonders. Jafar orders Player to fetch the lamp from within, but before they can, the Cave of Wonders Guardian iterates that only the "diamond in the rough" may enter, casting Player out into the desert in the process. Iago collects the fragments and expresses his frustrations, while Jafar encourages patience as they prepare to seek out the "diamond in the rough". With Chirithy proven right, Player decides to check in on Aladdin.

Aladdin encounters a disguised Jasmine being attacked by Bandits. Aladdin and Abu save Jasmine, but the Bandits keep pursuing her and force them to retreat. Meanwhile, Jafar and Iago utilize the Sands of Time to discern the identity of the "diamond in the rough", which is revealed to be Aladdin. Once safe, Aladdin brings Jasmine to his home and shows her his view of the palace. When Jasmine seems disinterested, he asks where Jasmine comes from, but she evades the question and tells him that her father is forcing her to get married. Just then, the Guards find Aladdin and apprehend him, prompting Jasmine to reveal herself as the princess and order for Aladdin's release. However, the Guards inform her that their orders come from Jafar, and Jasmine must speak with him about Aladdin's release.

Arriving in the city, Player learns of Aladdin's arrest and makes their way to the dungeons to rescue him. With Abu's help, Aladdin is freed from his chains, who mulls over how he would never see Jasmine again because of the law stating that she must marry a prince. A disguised Jafar emerges and convinces him to strike a bargain: retrieve the lamp from the Cave of Wonders in exchange for his own freedom and treasures beyond his wildest dreams. Knowing that the Cave of Wonders is dangerous, Player chases after Aladdin, only to be attacked by the Ferry Reaper.

At the Cave of Wonders, Aladdin is allowed entry, but is advised to touch nothing but the lamp. Player arrives in time and volunteers to venture into the Cave of Wonders with Aladdin. Making their way through the chambers of treasure, Player and co. meet Carpet, who offers to lead them to the lamp. The Blizzard Lord and Volcanic Lord appear to block the way, forcing Aladdin and Abu to fight them back in order to proceed toward the lamp. Within the chamber, Aladdin goes to retrieve the lamp alone, but as he does so, Abu is enticed by the forbidden treasure and touches it, incurring the wrath of the Cave of Wonders Guardian. With Carpet's help, Aladdin manages to reach the entrance and gives the lamp to Jafar. Jafar attempts to kill him, only to be stopped by Abu. The Cave of Wonders then collapses and sends Aladdin and Abu to the depths. As Jafar prepares to celebrate, he realizes that the lamp is now gone.

Back at the palace, the Sultan attempts to console a crying Jasmine, who explains the situation with Aladdin and Jafar.

In the Cave of Wonders, Chirithy rouses an unconscious Player so they can look for the others. When Player finds Aladdin, Abu, and Carpet, Abu reveals that he had stolen the lamp back from Jafar before they fell. Aladdin ends up rubbing the lamp, unknowingly summoning the Genie. After the Genie explains his wish-fulfilling powers and the limitations that go along with them, Aladdin tricks the Genie into helping them escape the Cave of Wonders without technically wishing for it.

Meanwhile, Jafar is reprimanded by the Sultan for his alleged ordering of Aladdin's execution. The Sultan tries to have Jasmine and Jafar reconcile, but Jasmine refuses and declares that she intends on getting rid of Jafar when she marries. With Jafar frustrated by their defeat, Iago suggests that Jafar be the one to marry Jasmine and become sultan.

Once they reach the Oasis, Aladdin reveals his trick to the Genie, who Genies then asks what Aladdin's first wish will be. When Aladdin asks what Genie would wish for, Genie tells Aladdin his desire for freedom since he has been a servant for thousands of years. Aladdin promises to give Genie his third wish and then wishes for Genie to make him into a prince so that he could impress and marry Jasmine.

They arrive in Agrabah just as Jafar is attempting to hypnotize the Sultan. Aladdin, under the guise of "Prince Ali Ababwa", meets the two and they discuss Jasmine's future. Unbeknownst to them, Jasmine walks in on this conversation, voicing her anger and storming off shortly thereafter. Later that night, as Jasmine has refused to speak with Aladdin, Genie tries to just get him to tell Jasmine the truth, though Aladdin rejects the idea and tries to reach out to Jasmine his own way. Using Carpet to reach Jasmine's balcony, Aladdin attempts to speak with her, but she brushes him off. After revealing Carpet's presence to Jasmine by pretending to jump off the balcony, Aladdin takes Jasmine on a romantic carpet ride, where Jasmine realizes Aladdin's identity. Aladdin covers this up by claiming to disguise himself as a commoner in order to get away from his oppressing royal lifestyle, just as Jasmine had done.

When the night is over, Jasmine kisses Aladdin and they part ways, but before Aladdin can relish his success, he is apprehended by the Jafar and the Guards, with Jafar ordering them to get rid of Aladdin. The Guards take Aladdin to the coast, tying a weight around his ankle and throwing him into the water. Genie uses Aladdin's second wish in order to save him. After Player reunites with the two, they head back to the palace in order to expose Jafar's treachery.

With Aladdin out of the way, Jafar hypnotizes the Sultan and forces him to order Jasmine to marry Jafar. Jasmine refuses to marry Jafar out of her love for "Prince Ali". Just as Jafar claims that "Prince Ali" had left, Aladdin reveals himself and how Jafar had attempted to have him killed. Realizing that the Sultan's strange behavior is the result of Jafar's staff, Aladdin breaks it and frees the Sultan, who orders Jafar's arrest. Jafar sees the lamp in Aladdin's possession and summons a Heartless so he can escape.

With Jasmine set to marry him, Aladdin has everything he wanted. However, he resolves that he cannot wish Genie free, or else risk losing Jasmine if she should ever discover the truth. Mimicking Jasmine's voice, Iago draws Aladdin away so that he can steal the lamp, thus allowing Jafar to claim Genie and make his first wish: to become sultan. As darkness covers the sky, Player rushes to Aladdin's side, only to find that Jafar has Aladdin, Jasmine, and the Sultan under his control. Jafar reveals Aladdin's farce to Jasmine just as Player attempts to intervene, and Jafar casts both Aladdin and Player out of the kingdom with his magic.

Player and Aladdin wake up to find themselves in a snowy wasteland. After locating Carpet, they fly back to Agrabah in order to stop Jafar. In Agrabah, Jafar asks Jasmine to become his queen. When she denies him, Jafar attempts to use Genie to force Jasmine to fall madly in love with him. Seeing Aladdin sneak into the throne room, Jasmine pretends that Jafar's wish worked to buy Aladdin time to steal back the lamp, but Iago sees spots them and warns Jafar. Jafar transforms himself into a giant cobra in order to finish Aladdin off once and for all, with Player joining the latter in battle. Jafar manages to get the upper hand and constricts Aladdin and Player, only to be tricked by Aladdin into wishing to become a genie himself, as Genie's power still outweighed his own. Jafar falls for the trick and battles Aladdin and Player after becoming a Genie, only to be imprisoned within his own lamp afterwards.

Aladdin apologizes to Jasmine for lying, though she understands, and Genie encourages him to use his third wish to become a prince again. Instead, Aladdin wishes for Genie's freedom, as he had originally promised. Despite having given up his chance to be with Jasmine, the Sultan abolishes the law stating that Jasmine must marry a prince, allowing Jasmine to choose Aladdin. As Player and Chirithy look on, Chirithy comments on how true happiness cannot be realized with lies, mumbling to itself about wanting to tell the truth as well.

Kingdom Hearts
The story starts with Jafar looking for Princess Jasmine, but Iago tells him that she is nowhere to be found. Maleficent turns up, telling him that Jasmine is essential for their plan. She also warns Jafar to be careful not to lose his heart, but Jafar shrugs it off, telling her that her "concern is touching, but hardly necessary." As Maleficent and Jafar move out to continue searching for Jasmine, the latter peeks out from behind a stall. Later, Sora and the gang meet Jasmine in the alley, before Jafar appears and kidnaps her. Just before she disappears, she tells Sora, Goofy, and Donald Duck to find Aladdin in the desert.

As they run out of the town and into the desert, they find the flying carpet, which takes them to the location of the Cave of Wonders, although the entrance is closed. There, Aladdin is stuck in a pit of sinking sand, and is being set upon by Heartless. Sora, Donald, Goofy, and Aladdin attack the Heartless, but there are too many. Aladdin pulls himself out of the sand and wishes that the Heartless were gone. Genie appears and makes them disappear. As they fly back to the town on the carpet, Genie talks about how he's a prisoner in the lamp, and Aladdin promises to set him free with his third wish.

Aladdin, Sora, Goofy and Donald confront Jafar in front of the palace, where he's with Jasmine. Aladdin uses his second wish to save Jasmine, but Iago steals the lamp and Genie disappears, dropping Jasmine in a pot, which then becomes part of the Pot Centipede Jafar creates. Jafar and Jasmine disappear, but Sora and company don't discover this until after the Pot Centipede is destroyed. They then run after Jafar who has run to the Cave of Wonders. The Cave's tiger-head guardian attacks them, having been possessed by the Heartless. As they fight it, Jafar and Jasmine are in the lamp room, where the former uses his first wish to reveal the Keyhole. Maleficent then appears, and Jafar suggests turning Riku against Sora. Sora, Aladdin, Goofy and Donald then run in, seeing Maleficent. She disappears quickly, while Jafar uses his second wish to get Genie to fight alongside him against Sora. When Sora defeats Jafar, he uses his last wish to turn himself into a genie. Sora attacks Iago to get him to drop Jafar's lamp, and rubs it, sending Jafar inside. Unknown to Sora at the time, Riku has kidnapped Jasmine and taken her to Hollow Bastion.

The group discover Jasmine is missing, and Sora quickly seals the Keyhole before the Cave of Wonders collapses completely. They use the carpet to fly back to Agrabah, where Aladdin uses his final wish to set Genie free, who then joins Sora in order to find Jasmine.

Kingdom Hearts Chain of Memories
Agrabah returns in the memories of Sora. Sora, Donald, and Goofy see Aladdin getting attacked by the Heartless. They help him, but become overpowered by the Heartless. Aladdin brings out his lamp and calls forth the Genie to get rid of the Heartless for his first wish. Genie appears and gets rid of the Heartless, leaving Aladdin with two wishes. Sora and the others decided to go with Aladdin to the palace. Along the way, Goofy asks Aladdin why he is going to the palace. He said that he needs to get the lamp to the palace right away. He had acquired the lamp from the Cave of Wonders. The Genie tells Aladdin that he had been in the lamp for a whopping two thousand years and he had grown tired of granting everyone's wishes. Aladdin promises to free Genie with his last wish, but before freeing the Genie, he wishes to be with Jasmine, the princess of Agrabah.

It is hard for a street rat like like Aladdin to get a chance to see Jasmine. He seeks help from Jafar, the royal vizier, to meet Jasmine. Genie thinks Aladdin can go see her as a prince. So they hurry to the palace. On their way, they see Jasmine getting attacked by Heartless. Aladdin has no choice but to use his second wish to save Jasmine. Genie gets rid of the Heartless, but more emerge. After they defeat the Heartless, Jafar appears and takes away the lamp. He plans to use the lamp to get Jasmine for himself. Jafar uses his first wish to bring Jasmine to him. Genie takes Jasmine and Jafar escapes. Aladdin has lost Jasmine and the lamp, but Sora tells him not to give up. Aladdin takes Sora's advice and comes up with an idea to get the lamp back. Sora, Donald, and Goofy follow Jafar to the palace. They are about to engage in battle when Aladdin appears. Jafar tells Genie to get rid of him. Genie punches Aladdin out of the way, but Genie takes this command as a wish and unbeknownst to Jafar, he uses up his second wish.

Jafar uses his final wish to become a powerful Genie. However, Sora battles the transformed vizier, seizes the newly created lamp forged from Jafar's wish, and seals Jafar in the lamp. Aladdin uses his final wish to free Genie from the lamp, and decides that he wants Jasmine to see him for who he really is. This memory ends as Aladdin says goodbye to Sora, Donald, and Goofy.

Meanwhile, Riku enters a simulation of Agrabah in the Basement and encounters Jafar. The Royal Vizier transforms into a genie and battles Riku, but is soundly defeated.

Kingdom Hearts 358/2 Days
Roxas's first mission to a new world, outside of Twilight Town and The World That Never Was, begins on his twenty-sixth day in the Organization. He is dispatched to Agrabah with Xigbar, and together the two of them investigate the city, finding it is full of sand, the stores are empty, buildings seem to have been recently damaged, and lumber and rope can be seen all around the city alongside what looks like quick repairs. All this seems to be the result of sandstorms like the violent one currently raging out in the desert.

Xigbar and Roxas spy on Aladdin and Jasmine discussing the town's situation, and after finding a place where they can listen without being seen, they overhear that Aladdin has been working non-stop to shore up the city in preparation for the next sandstorm. Jasmine is worried about him, and suggests they ask the Genie for help. However, Aladdin is determined to protect Agrabah with his own strength. He and Jasmine head off to continue their work.

Xigbar decides that there's no need to investigate the palace. He and Roxas are about to return to the Castle when Roxas is suddenly overcome by a strange vision, images of Xion, and a blonde girl drawing pictures in a white room. He falls over, unconscious.

Roxas takes over three weeks to recover from his sleep, and eventually returns to Agrabah. During a routine mission to release hearts from Heartless, he again comes across Jasmine and Aladdin worrying about an impending sandstorm and about the recent appearances of Heartless throughout the city. Roxas also sees Aladdin scolding Abu for stealing, but keeps out of sight and returns to the home once his mission is done.

Another three weeks later, Roxas is sent back to Agrabah with Axel. Upon arriving in the city, he is struck by a strange vision of a boy in red clothes, and feels as if the boy has once stood in the same spot that he has. What was meant to be a simple mission to release hearts is interrupted by the appearance of Pete, who seems to be searching for something. Axel decides on the spot to change their mission goal, but Roxas is apprehensive about ignoring his orders without permission. Axel assures him that someone as suspicious as this is worth checking out, so they conclude that they can destroy some Heartless afterwards. They sneak around the town, following Pete until he reveals a secret door to the desert, and a path to the Cave of Wonders. Axel says that discovering the Cave is enough work for the day, so after defeating the nearby Heartless, they head home.

Roxas returns with Xion to investigate the Cave three days later. They rescue Abu from a swarm of Heartless, and it turns out the small gemstone the monkey was carrying is a key to unlock the deeper rooms of the Cave. They fight their way through Heartless to a dead end, where they find a statue holding some kind of treasure. They are confronted by Pete, who attacks them, saying that they'll never get hold of the magic lamp that is rightfully his. Pete is defeated, but the noise and violence causes a cave-in, and Roxas and Xion escape to the desert. There, they suddenly find themselves face to face with a flying Carpet, and a magical being who introduces himself as the "Genie formerly of the magic lamp". The Carpet thought it recognized Roxas, but it discovers it doesn't know him after all.

The Genie explains that the two of them had been traveling the world, but had been worried about their friends at home and were on their way back to check up on Agrabah. The Genie is particularly worried about his best friend, "Al", but Roxas does not understand the concept of friendship. When the Genie hears of the danger to the town, his first reaction is to rush off to help, but Roxas explains that Aladdin wants to rebuild the town with his own strength. Genie concedes that it's important to respect Aladdin's wishes, but he still magically stops the sandstorm.

Three weeks later, Roxas finds Jasmine and Aladdin glad that the sandstorm has subsided, since now they can go outside the city again, though the Heartless are still posing a problem. When Roxas heads outside the city limits and into the desert, he encounters a Heartless, the Antlion. He defeats it, and soon afterwards Roxas finds Aladdin commenting that the Heartless' numbers seem to be decreasing. While Roxas spies on Aladdin and Jasmine's conversation, the Genie joins him again to see how things are going with Aladdin and Jasmine. Genie decides not to go and greet his friend so as not to get in the way, claiming that just knowing his friend is safe is enough to keep him happy.

Roxas completes several more routine missions to Agrabah, but when he and Xion visit the city on his 321st day in the Organization, he feels uneasy. He brushes off Xion's concern, and they head to a deep part of the Cave of Wonders that had been uncovered by the previous cave-in. There they find the old, sealed Keyhole, and Xion is struck by a vision of a boy locking it. She suddenly realizes that the boy looks a lot like Roxas, but the two are attacked by a large Heartless before she can say anything. Roxas finds himself struggling to wield his Keyblade, but Xion easily dispatches the Heartless, and helps Roxas to his feet. Roxas assures her that he's just tired.

When Roxas is sent to Agrabah one last time on his 354th day, he sets up a strange, silver, hovering device in the middle of The Lamp Chamber, though Roxas doesn't know what the device does. Roxas is attacked by Heartless, and although he manages to fight them off he finds himself struggling and wondering when he became so weak. As he is about to return home, he pauses in the desert, suddenly wondering just why he keeps carrying out missions for the Organization he knows so little about. Roxas thinks to himself that he doesn't know who he really is, or where he came from, and is concerned about his relationship with his friends. He wonders whether he wants to return to The World That Never Was or not, and as he looks up at the stars, he sheds a tear and puts his hood on.

Sometime later, Roxas is transported here by Xion at the Lamp Chamber. Xion uses the Organization's device to summon swords similar to those wielded by Kurt Zisa to attack Roxas. However, Roxas manages to destroy the weapons. Xion then transports herself and Roxas to Twilight Town to continue the fight.

Kingdom Hearts II
Sora, Donald, and Goofy arrive in Agrabah hoping to meet up with their old ally Aladdin and Jasmine. Once they land, the first few moments are quite hectic. First, they meet Iago whom needs help getting back on the good side of Aladdin and Jasmine. Then, the gang is ambushed by a seemingly endless supply of Heartless; after defeating a number of Heartless, Iago returns and "saves" the group. They escape to a nearby alley and question Iago as to where Aladdin might be. Hinting he could be at the palace, the group go to the palace where they meet a worried Jasmine. Jasmine says that Aladdin hasn't been himself lately and is worried that something is wrong (despite Aladdin's protests). The group embarks on a search to find Aladdin.

After leaving the palace, the group find Aladdin's pet monkey, Abu, stealing a black lamp with Aladdin in chase. After the lamp is returned to the peddler, Aladdin explains why he has been sad as of late; Genie and the Magic Carpet have gone sight-seeing around the world. Iago interrupts again and states that the lamp the Peddler was selling was the lamp that imprisoned Jafar. The Peddler refuses to sell the lamp to Aladdin unless they pay him with treasure that is fit for a sultan. Refusing to worry the Sultan and Princess Jasmine, Aladdin and the group head to the Cave of Wonders in search of treasure.

At the Cave of Wonders, the group pass through the "Chasm of Challenges" and find what looks to be a gold trophy with gems on the sides. The group heads back to the Peddler's shop where they find Pete arguing with the Peddler to hand the lamp over. The group follows Pete and the Peddler to the palace where a mad race for the lamp ensues. Genie appears and mistakes Pete for Aladdin; angry, Pete summons the Volcanic Lord and Blizzard Lord. After defeating the two Heartless, Aladdin seals the lamp in a case inside the palace. With both Genie and the Magic Carpet back, Aladdin is back to his old carefree self. Receiving the "lamp charm" (allowing Sora the ability to summon Genie), the group seals Agrabah and leaves, continuing their search for Riku and the King.

The group revisits Agrabah only to find that Jafar has been released from his lamp by the Peddler, with assistance from Organization XIII. Sora, Donald, and Goofy meet up with Aladdin at the Peddler's shop where Aladdin has a flashback of Jafar ordering him to give Jafar the magic lamp. Iago later tells the group that Jafar is at the Ruins. Genie appears outside the Palace Walls and removes the sandstorm blocking the way to the Ruins. Once at the Ruins, Sora rides the Magic Carpet to the top of the center pillar's roof and fights a few summoned Heartless courtesy of Jafar. Iago then leads the group inside the center pillar, misleading them into believing that Jafar is in there, only for them to find out that it was an attempt by Jafar to attack the palace without interference. They escape the trap and head toward the palace.

At the palace, Jafar has chained Princess Jasmine to a wall stating that he is the ruler of Agrabah. Aladdin and the group arrive, much to Jafar's surprise. Jafar transforms into a genie and attacks. Sora defeats Genie Jafar which destroys the black lamp that imprisoned Jafar. Bidding the Agrabah group goodbye, Sora and the group leave to continue their journey.

Kingdom Hearts coded
Data-Sora's pursuit of real-world Pete leads him to the datascape's version of Agrabah, which is overrun by Heartless and Bug Blox. Sora explores the world and meets that world's version of Aladdin. Aladdin is looking for Jasmine, to make sure she's alright and to deliver something to her. He asks Sora to look around Agrabah for her, while he keeps looking near the Palace Gates.

Sora finds Jasmine in the Alley, being accosted by Jafar. Sora confronts Jafar, and drives him off. Jafar encounters Pete, who gives him a duplicate of the lamp made from corrupted data. Sora and Jasmine find Aladdin, who says he found something in the Cave of Wonders that can stop Jafar and fix Agrabah. Jafar appears and kidnaps Jasmine before using the power of the duplicate lamp to stop time for all of Agrabah, except for Sora. King Mickey explains that Sora isn't affected because he is from another world, and that has the power to fight the corruption. Iago, who Jafar has made immune to the time freeze, steals the real lamp from the frozen Aladdin. King Mickey tells Sora to get that lamp to release a friend. Sora chases down Iago, takes back the lamp, and finds Genie inside. Sora wishes to go after Jafar, and Genie transports the two of them to the Cave of Wonders. They find Jafar, who has hidden Jasmine away and uses the fake lamp to create a glitch that seals the cave entrance behind him.

Sora fixes the glitch, and he and Genie work their way through the Cave of Wonders, until they find Jafar in the Lamp Chamber. Jafar tries to tempt Sora into joining him, but Sora refuses and defeats Jafar. Jafar uses his lamp to become a genie and hides inside the world's Keyhole. Sora enters the Keyhole and defeats Genie Jafar, sealing him into his lamp. Before he returns to chasing Pete, Sora tells Genie to take Jasmine and the lamp back to Aladdin.

Outside the Cave of Wonders, Sora confronts Pete, who calls Maleficent. Maleficent, who has also entered the datascape from the outside, confuses Sora with his real-world counterpart before destroying his Keyblade and summoning Shadows to destroy him. Data-Riku and King Mickey arrive and defeat the Heartless, and Mickey demands to know why Maleficent is in the datascape. Although Maleficent doesn't understand the nature of the data worlds, Pete explains that he had been sneaking in the castle when he was pulled into the hub of the datascape at the same time Mickey, Donald, and Goofy were being imported by Riku. He then called Maleficent into the system, and they began planning to use the datascape to take over worlds through the link to Disney Castle. Data-Riku tries to attack the two villains, but Maleficent knocks him out and takes him along as she and Pete leave Agrabah.

Kingdom Hearts V CAST
Agrabah features as the third episode of Kingdom Hearts V CAST. Sora fights Jafar, who reportedly takes on a cobra form.

Other
🇰🇲