Kingdom Hearts (game)
Kingdom Hearts Final Mix
Kingdom Hearts Chain of Memories
Kingdom Hearts Re:Chain of Memories
Kingdom Hearts II
Kingdom Hearts II Final Mix
Kingdom Hearts 358/2 Days
Kingdom Hearts coded
Kingdom Hearts Re:coded
Kingdom Hearts χ
Kingdom Hearts Union χ
Kingdom Hearts Dark Road
Kingdom Hearts Melody of Memory

Agrabah: Difference between revisions

From the Kingdom Hearts Wiki, the Kingdom Hearts encyclopedia
Jump to navigationJump to search
mNo edit summary
 
(846 intermediate revisions by more than 100 users not shown)
Line 1: Line 1:
{{World Box
{{game|KH1|FM1|VCAST|COM|REC|KH2|FM2|358|KHC|RCO|KHX|UCX|DR|MOM}}
|name=Agrabah
{{suite}}
|image=Agrabah (world).jpg
{{youmay|the World|[[Episode 19: Agrabah|the chapter in the ''Kingdom Hearts'' manga]] or [[Castle Oblivion#Agrabah|the area in Castle Oblivion]]}}
|imgsize=370px
{{World
|kana=
|name=Agrabah
|ally= [[Aladdin]], Abu & Carpet
|katakana=アグラバー
|ruler=[[The Sultan]]
|romaji=Agurabā
|second in command=Unknown
|fr=Agrabah
|games=''[[Kingdom Hearts (game)|Kingdom Hearts]]''<br>''[[Kingdom Hearts: Chain of Memories]]''<br>''[[Kingdom Hearts 358/2 Days]]''<br>''[[Kingdom Hearts II]]''<br>''[[Kingdom Hearts coded]]''
|es=Agrabah
|film=''[[wikipedia:Aladdin (film)|Aladdin]]''
|de=Agrabah
|music="A Day in Agrabah"
|KHimage=[[File:Agrabah KH.png|x282px]]
|battle="Arabian Dream"}}
|KHlogo=[[File:Agrabah Logo KH.png|325px]]
|KH2image=[[File:Agrabah KHII.png|310px]]
|KH2logo=[[File:Agrabah Logo KHII.png|325px]]
|game1=Kingdom Hearts
|game2=Kingdom Hearts Chain of Memories
|game3=Kingdom Hearts II
|game4=Kingdom Hearts 358/2 Days
|game5=Kingdom Hearts coded
|game6=Kingdom Hearts χ
|game7=Kingdom Hearts Dark Road
|game8=Kingdom Hearts Melody of Memory
|ally=[[Aladdin]]{{KH}}{{KHCoM}}{{KHII}}<br>[[Genie]]{{KHc}}
|assist=[[Carpet]], [[Abu]]{{KH}}{{KHII}}<br>[[Iago]]{{KHII}}
|KHnormalname=A Day in Agrabah
|KHnormalfile=A Day in Agrabah KH.ogg
|KHbattlename=Arabian Dream
|KHbattlefile=Arabian Dream KH.ogg
|COMnormalname=A Day in Agrabah
|COMnormalfile=A Day in Agrabah KHRECOM.ogg
|COMbattlename=Arabian Dream
|COMbattlefile=Arabian Dream KHRECOM.ogg
|KH2normalname=A Day in Agrabah
|KH2normalfile=A Day in Agrabah KHII.ogg
|KH2battlename=Arabian Dream
|KH2battlefile=Arabian Dream KHII.ogg
|KH2battlename2=Arabian Daydream
|KH2battlefile2=Arabian Daydream KHII.ogg
|358normalname=A Day in Agrabah
|358normalfile=A Day in Agrabah KHD.ogg
|358battlename=Arabian Dream
|358battlefile=Arabian Dream KHD.ogg
|film=''{{w|Aladdin (1992 Disney film)|Aladdin (1992)}}''
}}
'''Agrabah''' is a [[world]] in the ''{{c|Kingdom Hearts|series}}'' series, based on Disney's 1992 film ''{{w|Aladdin (1992 Disney film)|Aladdin}}'', as well as its sequel, ''{{w|The Return of Jafar}}''. 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.


'''Agrabah''' is a world from the ''[[Kingdom Hearts]]'' series. It features scenery and characters from Disney's 1992 film ''[[wikipedia:Aladdin (film)|Aladdin]]'', including the [[Cave of Wonders]]. However, the world takes drastically different forms between versions.
==Settings and Areas==
===''Kingdom Hearts''===
[[File:Agrabah - Main Street (Art).png|thumb|left|225px|Artwork of the Main Street in Agrabah.]]
The world of Agrabah is divided into two regions. The first region is the city of {{nihongo|'''{{a|Agrabah}}'''|アグラバー|Agurabā}} itself, where the Sultan's Palace is located. [[Sora]] and his party arrive in Agrabah's {{nihongo|'''{{a|Plaza}}'''|城門広場|Jōmon Hiroba|lit. "City Gate Plaza"}}, where they are immediatly attacked by [[Heartless]]. Connecting through a door is the {{nihongo|'''{{a|Storage}}'''|物置部屋|Mono'okibeya|lit. "Storage Room"}}, with no enemies and a save point, as well as a few other goodies. Heading north from the Plaza leads to the {{nihongo|'''{{a|Main Street}}'''|大通り|Ōdōri}}. Continuing north takes them to the {{nihongo|'''{{a|Palace Gates}}'''|王宮前|Ōkyū Mae|lit. "Royal Palace Anterior"}}, where the battle with the [[Pot Centipede]] begins, eventually playing out throughout the entire city. Heading west from Main Street sends them into the {{nihongo|'''{{a|Alley}}'''|裏通り|Uradōri}}, while entering the high entrance to the east goes into the {{nihongo|'''{{a|Bazaar}}'''|バザール|Bazāru}}. These areas interconnect on many levels, both high and low.


Agrabah is also confirmed to be appearing in the new [[Kingdom Hearts 358/2 Days]] game, featuring [[Roxas]] and [[Organization XIII]] and [[Kingdom Hearts coded]] featuring a data version of [[Sora]].
Shimmying up the pole on Agrabah's Main Street will take [[Sora]]'s group to {{nihongo|'''{{a|Aladdin's House}}'''|アラジンの家|Arajin no Ie}} and another save point.


==Setting==
Leaving the city initially takes [[Sora]]'s group to the {{nihongo|'''{{a|Desert}}'''|砂漠|Sabaku}}, but once the [[Carpet]] joins them they can reach the {{nihongo|'''{{a|Cave}}'''|洞窟入口|Dōkutsu Iriguchi|lit. "Cave Entrance"}}. There 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. The Desert can be briefly accessed later in the game - now surrounded by stone pillars - during the optional battle against [[Kurt Zisa]].
===[[Kingdom Hearts]]===
[[Image:Cave of Wonders.png|thumb|200px|The Cave of Wonders]]
The world of Agrabah is basically divided into two parts. The first part is Agrabah itself, where the '''Sultan's Palace''' is located. [[Sora]] and his party arrive in the '''Plaza''' here, where they are confronted by their first enemies in the world. Connecting through a door is a '''Storeroom''', with no enemies and a save point, as well as a few other goodies.  Heading north from the '''Plaza''' heads to '''Main Street'''; shimmying up the nearby pole will take [[Sora]]'s group to '''Aladdin's House''' and another save point. Continuing north takes them to the '''Palace Gates''', where the massive [[Pot Centipede]] battle begins. Heading west from '''Main Street''' sends them into the '''Alley''', while entering the high entrance to the east goes into the '''Bazaar'''. These areas interconnect on many levels, both high and low.


Leaving the city takes [[Sora]]'s group to the '''Cave of Wonders''', but the Cave of Wonders Guardian, which resembles a tiger's head and 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 '''Entrance''', with a single boulder trap. Going forward leads them to the '''Hall''', 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 '''Bottomless Hall''', a narrow ledge next to a deep chasm. By dropping into the ravine in the '''Hall''', '''Bottomless Hall''', or the '''Entrance''', [[Sora]] and his group are sent into a set of lower chambers. Continuing foward through the '''Bottomless Hall''' takes the party to the final room, the '''Treasure Room'''; it is from here that they eventually gain access to the '''Lamp Chamber''' and the [[Jafar]] boss battle.
[[File:Desert - Cave (Art).png|thumb|right|200px|The entrance to the Cave of Wonders.]]
Heading into the Cave of Wonders (simply known as the {{nihongo|'''{{a|Cave}}'''|魔法の洞窟|Mahō no Dōkutsu|lit. "Cave of Magic"}}), the party will arrive at its {{nihongo|'''{{a|Entrance}}'''|魔法の洞窟:入口|Mahō no Dōkutsu: Iriguchi|lit. "Cave of Magic: Entrance"}} where they'll be immediatley met by a boulder trap. Going forward leads them to the {{nihongo|'''{{a|Hall}}'''|広間|Hiroma}}, a massive room full of traps such as boulders, and squirting water. Heading through the door on the opposite side leads to the {{nihongo|'''{{a|Bottomless Hall}}'''|底なしの間|Sokonashi no Ma|lit. "Bottomless Chamber"}}, 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 {{nihongo|'''{{a|Treasure Room}}'''|宝物庫|Hōmotsugura|lit. "Treasury"}}; it is from here that they eventually gain access to the {{nihongo|'''{{a|Lamp Chamber}}'''|ランプの間|Ranpu no Ma}} and the [[Jafar]] boss battle. Below the Lamp Chamber is the {{nihongo|'''{{a|Core}}'''|最深部|Saishinbu|lit. "Depths"}}, filled with lava and stone pillars.


The lower chambers are mostly full of water and are navigated by swimming. The '''Dark Chamber''' 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 '''Relic Chamber''' and the '''Silent Chamber''' also hold various treasures and triggers that only [[Abu]] can access.
The lower chambers are mostly full of water and are navigated by swimming. The {{nihongo|'''{{a|Dark Chamber}}'''|魔法の洞窟:暗闇の間|Mahō no Dōkutsu: Kurayami no Ma|lit. "Cave of Magic: Dark Chamber"}} 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 {{nihongo|'''{{a|Relic Chamber}}'''|魔法の洞窟:遺物の間|Mahō no Dōkutsu: Ibutsu no Ma|lit. "Cave of Magic: Relic Chamber"}}, the {{nihongo|'''{{a|Hidden Room}}'''|隠された部屋|Kakusareta Heya}}, and the {{nihongo|'''{{a|Silent Chamber}}'''|沈黙の間|Chinmoku no Ma}} also hold various treasures and triggers that only [[Abu]] can access.


===[[Kingdom Hearts: Chain of Memories]]===
===''Kingdom Hearts Chain of Memories''===
Agrabah is recreated inside [[Castle Oblivion]] as a figment of Sora's memories. The world is explored through boxed-in areas resembling the city of Agrabah. In cutscenes areas such as the '''{{a|Main Street}}''', the '''{{a|Plaza}}''', the '''{{a|Bazaar}}''', and the '''{{a|Palace Gates}}''' are revisited. A slightly altered version of the '''{{a|Core}}''' serve as an arena during the battle against [[Genie Jafar]], with their only being six platforms in the middle now as opposed to many across the room.


Agrabah is recreated inside [[Castle Oblivion]] as a figment of Sora's and [[Riku]]'s memories.
===''Kingdom Hearts II''===
[[File:The Cave of Wonders - Treasure Room (Art).png|thumb|left|225px|The Treasure Room in ''Kingdom Hearts II''.]]
Agrabah takes on a much different appearance in ''Kingdom Hearts II''. The city areas are a lot larger than any from the previous game, with many bridges and pits. The first area is simply named {{nihongo|'''{{a|Agrabah}}'''|アグラバー市街|Agurabā Shigai|lit. "Agrabah Streets"}}, and serves as the city's main part. In a quite unpolished part of this area is where the {{nihongo|'''{{a|Peddler's Shop}}'''|商人の店|Shōnin no Mise|lit. "Merchant's Shop"}} is located, which also houses a [[Moogle Shop]]. {{nihongo|'''{{a|The Palace}}'''|王宮前|Ōkyū Mae|lit. "Royal Palace Anterior"}} can also be reached from the main city area, and is a small garden right outside the main palace. The [[Blizzard Lord and Volcanic Lord]] are also fought here. The city's second big area is the {{nihongo|'''{{a|Bazaar}}'''|バザール|Bazāru}}, and is overflown with small shops and stands. During cutscenes an area called '''{{a|Palace Dungeon}}''' is seen, which is where Sora and the others lock away Jafar's lamp, after Pete attempted to release him.


Leaving the Bazaar leads to the city's entrance, the {{nihongo|'''{{a|Palace Walls}}'''|城壁の外|Jōheki no Soto|lit. "Outside the City Walls"}}, which is a small area with some trees, bushes, and an oasis in the distance. From their the party can chose between two paths. In Sora's first visit to the world, the left path is the only one available, and takes him to the {{nihongo|'''{{a|Cave of Wonders: Entrance}}'''|魔法の洞窟:入口|Mahō no Dōkutsu: Iriguchi|lit. "Cave of Magic: Entrance"}}. Entering the cave takes Sora to the {{nihongo|'''{{a|Valley of Stone}}'''|巨像の谷|Kyozō no Tani|lit. "Valley of the Colossus"}}, which reveals the cave's drastically different design. On each side of the path are enormous chasms which seem to go on forever, with several wide rectangular boxes floating across the area. Traversing past some odd statues at the end of the passage leads to the {{nihongo|'''{{a|Stone Guardians}}'''|守護像の住処|Shugo-zō no Sumika|lit. "Dwelling of the Guardian Statues"}}, where a quick water puzzle ensues. Completing the puzzle takes Sora and company to the {{nihongo|'''{{a|Chasm of Challenges}}'''|試練の間|Shiren no Ma|lit. "Room of Trials"}}. Here, the gang must defeat a number of [[Heartless]] in a short amount of time, while slowly falling through several platforms. If they succeed, the {{nihongo|{{a|'''Treasure Room'''}}|宝物庫|Hōmotsuko}} becomes accessible.


===[[Kingdom Hearts II]]===
When returning to Agrabah for the second visit, the right path outside the Palace Walls opens up, leading to the {{nihongo|'''{{a|Sandswept Ruins}}'''|埋もれた廃墟|Umoreta Haikyo|lit. "Buried Ruins"}}, which can only be navigated by Sora riding alone on [[Carpet]]. Passing through the buried city will take Sora and Carpet to a tower, located in the middle of a massive sinkhole, which houses the room called the {{nihongo|'''{{a|Ruined Chamber}}'''|廃墟の一室|Haikyo no Isshitsu|lit. "Room of the Ruins"}}.
[[Image:Cave_of_Wonders_Art.jpg|right|thumb|200px|The Treasure Room from ''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, the '''Bazaar''' holds many enemies, though no shops.  However, the '''Peddler's Shop''', the headquarters of the mischievous merchant who causes much of the chaos in the game, has a [[Moogle]] shop in it. '''The Palace''' can also be reached through the main city.
During the battle against [[Genie Jafar]], Sora rides Carpet above the city of Agrabah, giving great view of the palace, the city, and the dessert and mountains surrounding both.


Going outside the '''Palace Walls''' gives [[Sora]]'s group more options. The first, and in the beginning, only option available is the [[Cave of Wonders]]. However, the [[Cave of Wonders]] of [[Kingdom Hearts II]] is completely different. It has but one floor, divided into the '''Valley of Stone''' and the '''Stone Guardians'''. The focus of the Cave this time is the '''Chasm of Challenges'''. Here, the gang must defeat a number of [[Heartless]] in a short amount of time. If they succeed, they can enter the '''Treasure Room'''.
{|class="wikitable mw-collapsible mw-collapsed"
!Area Map in ''Kingdom Hearts II''
|-
|
[[File:Minimap (Agrabah) KHII.png|500px]]
|}
{{-}}
 
===''Kingdom Hearts 358/2 Days''===
In ''Kingdom Hearts 358/2 Days'', Agrabah has a similar appearance as it had in the first game, but due to the sandstorms caused by the [[Antlion]], as well as the city's 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  {{nihongo|'''{{a|Agrabah Gate}}'''|城門広場|Jōmon Hiroba|lit. "City Gate Plaza"}},  {{nihongo|'''{{a|Agrabah Street}}'''|大通り|Ōdōri|lit. "Main Street"}}, and  {{nihongo|'''{{a|The Palace}}'''|王宮前|Ōkyū Mae|lit. "Front of the Royal Palace"}}, respectively—are still available, only with some extra piles of sand and construction equipment. The {{nihongo|'''{{a|Cave of Wonders}}'''|砂漠:洞窟入口|Sabaku: Dōkutsu Iriguchi|lit. "Desert: Cave Entrance"}} is still available, but has undergone a transformation. It consists of an {{nihongo|'''{{a|Entrance Hall}}'''|入口大広間|Irikuchi Ōhiroma}} that leads up to the next level, the {{nihongo|'''{{a|Pillar Room}}'''|柱の間|Hashira no Ma}} filled with pillars that sink and rink. Beyond that is the {{nihongo|'''{{a|Abyss}}'''|奈落の間|Naraku no Ma|lit. "Abyss Room"}} that has a stairway above a huge drop back down to the Entrance. Beyond the Abyss is the {{nihongo|'''{{a|Hidden Room}}'''|閉ざされた部屋|Tozasareta Heya|lit. "Closed Room"}}, 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 {{nihongo|'''{{a|Secret Depths}}'''|秘密の地下|Himitsu no Chika|lit. "Secret Basement"}} is later found by Roxas and Xion when tracking a [[Large Armor]]. Activating the mechanisms here unlocks a new path to the now relocated {{nihongo|'''{{a|Lamp Chamber}}'''|ランプの間|Ranpu no Ma|lit. "Lamp's Room"}}.
 
The {{nihongo|'''{{a|Sandswept Ruins}}'''|埋もれた廃墟|Umoreta Haikyo|lit. "Buried Ruins"}} also makes a return, and is now explorable by foot. This is also where the battle against the Antlion Heartless take place.
 
{|class="wikitable mw-collapsible mw-collapsed"
!Area Map in ''Kingdom Hearts 358/2 Days''
|-
|
[[File:Minimap (Agrabah) KHD.png|496px]]
|}
 
===''Kingdom Hearts coded''===
[[File:Agrabah 05 KHREC.png|thumb|200px|right|Agrabah while frozen in time due to Jafar's spell.]]
A data version of Agrabah appears within the [[Datascape]] in ''Kingdom Hearts coded'', and is based off its appearance from ''Kingdom Hearts''. The first area is the {{nihongo|'''{{a|Plaza}}'''|城門広場|Jōmon Hiroba|lit. "City Gate Plaza"}} which connect to the {{nihongo|'''{{a|Main Street}}'''|大通り|Ōdōri}}. From there [[Data-Sora]] can chose between several gateways. Heading west leads to the {{nihongo|'''{{a|Alley}}'''|裏通り|Uradōri}} where a fight against Jafar occur, while entering the high entrance to the east goes into the {{nihongo|'''{{a|Bazaar}}'''|バザール|Bazāru}}.  Continuing north takes him to the {{nihongo|'''{{a|Palace Gates}}'''|王宮前|Ōkyū Mae|lit. "Front of the Royal Palace"}}. All of these areas interconnect on several levels, both high and low. After Jafar's cast a powerful spell on Agrabah, all areas of the city will turn green, with characters and Heartless frozen in time.
 
Traveling to the Cave of Wonders {{nihongo|'''{{a|Cave / Entrance}}'''|タイガーヘッド|Taigā Heddo|lit. "Tiger Head"}} leads to a new area within the cave, the {{nihongo|'''{{a|Cave / Hall of Beginnings}}'''|魔法の洞窟 始まりの間|Mahō no Dōkutsu Hajimari no Ma|lit. "Cave of Magic Room of Beginning"}}. A long and twisty corridor, with similar aesthetics to the first game's Cave of Wonders. The next room is also a new one and is named {{nihongo|'''{{a|Cave / Gauntlet}}'''|魔法の洞窟 試練の道|Mahō no Dōkutsu Shiren no Michi|lit. "Cave of Magic Path of Trials"}}, where there's great risk of falling down to lower sections of the area. At the end of the room is an elevator made of [[Bug Blox]], which will take Data-Sora down to the {{nihongo|'''{{a|Cave / Lamp Chamber}}'''|魔法の洞窟 ランプの間|Mahō no Dōkutsu Rampu no Ma|lit. "Cave of Magic Lamp Room"}}.
 
Once Data-Sora find the {{nihongo|'''{{a|Keyhole}}'''|鍵穴|Kagiana}} he can access it, which takes him to the {{nihongo|'''{{a|Keyhole / Terminus}}'''|鍵穴:最深部|Kagiana: Saishinbu|lit. "Keyhole: Deepest Part"}}. The area is similar to the Core from the first game, though there's a square prism in the middle of the room with a square hole, where Genie Jafar resides. The lava is also patterned similar to the Bug Bloxes.
 
Across the world are a total of five [[System Sector]] Backdoors. The only one within the city can be found at the Palace Gates on a wall near the high platform in the northwest corner. At the Entrance there's one to west of the tiger head, and another one on a wall in a small square alcove, near the center of the Hall of Beginnings. The last two are found within the Gauntlet. One's inside one of the pits, while the final Backdoor is located on the L-shaped platform near the elevator.
 
Across the world are also all kinds of Bug Blox which can be traversed and interacted with.
 
{|class="wikitable mw-collapsible mw-collapsed"
!Area Map in ''Kingdom Hearts Re:coded''
|-
|
[[File:Minimap (Agrabah) KHREC.png|500px]]
|}
 
===''Kingdom Hearts χ''===
{{Sec-stub}}
 
==Story==
===''Kingdom Hearts χ''===
[[File:Kidnapped 01 KHUX.png|thumb|left|Aladdin confronts the Wily Bandit.]]
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, {{c|Player|KHχ}} 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.
 
[[File:A Failed Attempt 01 KHUX.png|thumb|Player and Aladdin fight against the Wily Bandit.]]
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 Bandit]]s 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 [[Bandit]]s. 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.
 
Later, Player returns to Agrabah to check up on Aladdin and Jasmine. They find the pair at the desert oasis with Abu and Carpet. Aladdin and Jasmine thank Player for visiting and that they plan to travel the world, to meet new people and have more adventures.
 
===''Kingdom Hearts Dark Road''===
Agrabah is the first world visited by Xehanort, Eraqus and their fellow Keyblade wielders in their search for the upper classmen. During the initial visit, they notice the absence of residents, which Xehanort theorizes is because the World's "reboot" is still in its infancy, so the World is still devoid of life at present.
 
Later, Xehanort returns with Urd and Hermod to find inhabitants have started to appear. They are met by Jafar, and his parrot Iago, who asks them to help him save Agrabah by retrieving a special lamp from a nearby cave. The Keyblade wielders agree and head to the Cave of Wonders, which grants them access, but warns them not to touch anything but the lamp inside. Xehanort admits he doesn't fully trust Jafar, as he sensed greed in his heart, to which the others agree and decide not to give him the lamp, but still take the opportunity to explore parts of the world they were otherwise unable to before. However, Xehanort also admits his concern over the warning the Cave gave them before entering and wonders if Eraqus is there as well, with the others agreeing they should search for him.
 
Journeying deeper into the cave, they find Eraqus and Bragi and reiterate the warning about not touching anything. Eraqus admits he and Bragi were also ask to retrieve the Lamp for Jafar, and that they also had doubts about his true intentions. The Keyblade wielders all agree to they should find the lamp, with Urd expressing her belief it is the key to this World's order. Urd reveals the conversation she had with Vala in Beast's Castle, that every world has something that helps maintain its order and that the upper classmen are looking for such things. Xehanort also thinks that finding the Lamp will also lead them to the upper classmen and Vor. When the Keyblade wielders find the lamp, Vidar and Vor appear. Vidar explains that he wants the lamp in order to find the Seven Lights that are the key to summoning Kingdom Hearts, with the intention of using it to purge the Worlds of darkness. Vor has agreed to help him and the other upper classmen achieve their goal and Vidar asks if Eraqus shares the same goal. Vidar asks Eraqus to take the Lamp and use it to find the lights before leaving with Vor. Xeharnort asks Eraqus if disrupting the World's order is really worth defeating darkness, to which Eraqus replies he is not sure anymore and decides to leave the lamp alone. The Keyblade wielders agree to return to Scala Ad Caelum and tell Master Odin what they have discovered.
 
===''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.
 
[[File:Wish Number Two 01 KH.png|thumb|200px|Jafar captures Jasmine and is confronted by Sora and Aladdin at the Palace Gates.]]
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.
 
Some time after [[Ansem, Seeker of Darkness]] is defeated, Jasmine returns to Agrabah from [[Hollow Bastion]] and reunites with Aladdin.
 
===''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 That Never Was|Castle]] when Roxas is suddenly overcome by a strange vision, images of Xion, and [[Naminé|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 Aladdin and Jasmine 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 Aladdin and Jasmine 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 [[Organization XIII Device|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.


In the second part of the game, the other area from the '''Palace Walls''' opens up, the '''Sandswept Ruins''', which can only be negotiated by [[Sora]] riding alone on [[Carpet]]. He can use [[Carpet]] to reach the '''Ruined Chamber''', which helps he and his party unlock the secret of [[Jafar]] in this game.
===''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.


==Mini-Games==
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. [[Mickey Mouse|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.
===[[Kingdom Hearts II]]===
 
*The Chasm of Challenges remains open to try again after the initial trial.
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.
*The Magic Carpet Mini-game through the Sandswept Ruins opens after Agrabah is completed.
 
*One of the [[Skateboarding]] games, Sand Slider, can be found here.
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 [[Shadow]]s 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.
 
==Other appearances==
===''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.


==Characters==
==Characters==
<gallery>
<gallery>
Image:Sora-3.jpg|[[Sora]]
File:Aladdin KHREC.png|[[Aladdin]]<br>{{KHx}}{{KH}}{{KHCoM}}{{KHD}}{{KHII}}{{KHc}}{{KHMoM}}
Image:DonaldKH2.jpg|[[Donald|Donald Duck]]
File:Genie KHREC.png|[[Genie]]<br>{{Ux}}{{KH}}{{KHCoM}}{{KHD}}{{KHII}}{{KHc}}
Image:Goofy000.jpg|[[Goofy]]
File:Jasmine KHII.png|Princess [[Jasmine]]<br>{{Ux}}{{KH}}{{KHCoM}}{{KHD}}{{KHII}}{{KHc}}
Image:AladdinCG.jpg|[[Aladdin]]
File:Jafar KHREC.png|[[Jafar]]<br>{{Ux}}{{DR}}{{KH}}{{KHCoM}}{{KHII}}{{KHc}}
Image:AbuCG.jpg|[[Abu]]
File:Abu KHII.png|[[Abu]]<br>{{KHx}}{{KH}}{{KHD}}{{KHII}}
Image:Genie0.jpg|[[Genie]]
File:Iago KHREC.png|[[Iago]]<br>{{Ux}}{{DR}}{{KH}}{{KHCoM}}{{KHII}}{{KHc}}
Image:Carpet.jpg|[[Carpet]]
File:Carpet KHII.png|The Magic [[Carpet]]<br>{{Ux}}{{DR}}{{KH}}{{KHD}}{{KHII}}
Image: KH-Jasmine.jpg|[[Jasmine]]
File:The Peddler KHII.png|[[The Peddler]]<br>{{KH}}{{KHII}}{{KHc}}
Image:KH-Jafar.jpg|[[Jafar]] / [[Jafar (Genie)]]
File:Cave of Wonders Guardian KH.png|[[Cave of Wonders Guardian]]<br>{{Ux}}{{DR}}{{KH}}{{KHD}}{{KHII}}{{KHc}}
Image:Iago.jpg|[[Iago]]
File:Guards KHX.png|[[Guards]]<br>{{KHx}}
Image:The Peddler.jpg|[[The Peddler]]
File:Sultan KHUX.png|[[Sultan]]<br>{{Ux}}{{KHIIManga}}
Image:Pete0.jpg|[[Pete]]
File:Maleficent KHREC.png|[[Maleficent]]<br>{{KH}}{{KHc}}
Image: Vexen.png|[[Vexen|Absent Silhouette - Vexen]]
File:Pete KHREC.png|[[Pete]]<br>{{KHD}}{{KHII}}{{KHc}}
Image:Cave of Wonders Guardian.jpg|[[Cave of Wonders Guardian]]
File:Moogle KH.png|[[Mojito]]<br>{{KHII}}
Image:KHRikuCG.jpg|*[[Riku]]
Image:Maleficent20CGI.jpg*[Maleficent]]
*[[King Mickey]]
</gallery>
</gallery>


==[[Heartless]]==
==NPCs==
 
<gallery>
<gallery>
Image:Air Soldier Artwork.jpg|[[Air Soldier]]
File:Agrabah NPC 1 KH.png|The man at the plaza.<br>{{KH}}
Image:Bandit Artwork.jpg|[[Bandit]]
File:Agrabah NPC 2 KH.png|The woman in the alley.<br>{{KH}}
Image:BlackFungus.jpg|[[Black Fungus]]
File:Agrabah NPC 3 KH.png|The boy at the gates.<br>{{KH}}
Image:Fat Bandit2.jpg|[[Fat Bandit]]
File:Keyblade Wielder (Khaki Overalls) KHX.png|Other Player<!--Union member?-->{{Ux}}
Image:Green Requiem2.jpg|[[Green Requiem]]
Image:Neoshadow1.jpg[[Neoshadow]]
Image:Pot_Centipede.jpg|[[Pot Centipede]]
Image:Shadow2.jpg|[[Shadow]]
Image:Soldier2.jpg|[[Soldier]]
Image:White mushroom.jpg[[White mushroom]]
Image:Wizard Good Quality.jpg|[[Wizard]]
Image:Yellow Opera2.jpg|[[Yellow Opera]]
</gallery>
</gallery>


==Treasures==
==Enemies==
===[[Kingdom Hearts]]===
===Heartless===
{| border="1" cellpadding="5" cellspacing="0" align="center"
{|class="wikitable mw-collapsible mw-collapsed"
!
|-
|-
!style="background:#C71585;"| Type
|
!style="background:#C71585;"| Items Found
<gallery>
!style="background:#C71585;" width="200pt"| Locations
File:Shadow KHII.png|[[Shadow]]<br>{{KH}}{{KHCoM}}{{KHD}}{{KHII}}{{KHc}}{{Ux}}{{DR}}
!style="background:#C71585;" width="200pt"| Notes
File:Gigas Shadow KHFM.png|[[Gigas Shadow]]<br>{{KHD}}{{Ux}}{{DR}}
File:Mega-Shadow KHX.png|[[Mega-Shadow]]<br>{{Ux}}{{DR}}
Candy Apple KHX.png|[[Candy Apple]]<br>{{Ux}}
Poison Apple KHX.png|[[Poison Apple]]<br>{{Ux}}
Gift Shadow KHX.png|[[Gift Shadow]]<br>{{Ux}}{{DR}}
Lion Dancer KHX.png|[[Lion Dancer]]<br>{{KHx}}
Rodeo Rider KHX.png|[[Rodeo Rider]]<br>{{KHx}}
Shadow Witch KHUX.png|[[Shadow Witch]]<br>{{Ux}}
Shadow Magician KHUX.png|[[Shadow Magician]]<br>{{Ux}}
File:Soldier KHII.png|[[Soldier]]<br>{{KH}}{{KHII}}{{Ux}}{{DR}}
File:Deserter KHD.png|[[Deserter]]<br>{{KHD}}
Pumpkin Soldier KHX.png|[[Pumpkin Soldier]]<br>{{KHx}}
File:Air Soldier KH.png|[[Air Soldier]]<br>{{KH}}{{KHCoM}}{{KHc}}{{Ux}}{{DR}}
File:Large Body KHII.png|[[Large Body]]<br>{{KH}}{{Ux}}{{DR}}
File:Fat Bandit KHII.png|[[Fat Bandit]]<br>{{KH}}{{KHCoM}}{{KHII}}{{KHc}}{{Ux}}{{DR}}
File:Large Armor KHD.png|[[Large Armor]]<br>{{KHD}}{{Ux}}{{DR}}
File:Solid Armor KHD.png|[[Solid Armor]]<br>{{KHD}}
File:Land Armor KHD.png|[[Land Armor]]<br>{{KHD}}
Large Snowman KHX.png|[[Large Snowman]]<br>{{Ux}}{{DR}}
Huge Snowman KHUX.png|[[Huge Snowman]]<br>{{Ux}}
Ringmaster KHX.png|[[Ringmaster]]<br>{{Ux}}
Icy Beast KHUX.png|[[Icy Beast]]<br>{{Ux}}{{DR}}
File:Red Nocturne KH.png|[[Red Nocturne]]<br>{{KH}}{{KHc}}{{Ux}}{{DR}}
File:Blue Rhapsody KH.png|[[Blue Rhapsody]]<br>{{KH}}{{KHc}}{{Ux}}{{DR}}
File:Yellow Opera KH.png|[[Yellow Opera]]<br>{{KH}}{{KHCoM}}{{KHc}}{{Ux}}{{DR}}
Amber Opera KHUX.png|[[Amber Opera]]<br>{{Ux}}
File:Green Requiem KH.png|[[Green Requiem]]<br>{{KH}}{{KHCoM}}{{KHc}}{{Ux}}
Emerald Sonata KHUX.png|[[Emerald Sonata]]<br>{{Ux}}{{DR}}
File:Silver Rock KHII.png|[[Silver Rock]]<br>{{KHII}}
File:Emerald Blues KHII.png|[[Emerald Blues]]<br>{{KHII}}
File:Crimson Jazz KHII.png|[[Crimson Jazz]]<br>{{KHII}}
File:Scarlet Tango KHD.png|[[Scarlet Tango]]<br>{{KHD}}
Violet Waltz KHX.png|[[Violet Waltz]]<br>{{Ux}}
Wicked Watermelon KHX.png|[[Wicked Watermelon]]<br>{{Ux}}{{DR}}
Large Watermelon KHX.png|[[Large Watermelon]]<br>{{Ux}}
Huge Watermelon KHX.png|[[Huge Watermelon]]<br>{{Ux}}{{DR}}
Festive Fireworks KHX.png|[[Festive Fireworks]]<br>{{Ux}}
Large Fireworks KHX.png|[[Large Fireworks]]<br>{{Ux}}
Huge Fireworks KHX.png|[[Huge Fireworks]]<br>{{KHx}}
Jack O' Lantern KHX.png|[[Jack O' Lantern]]<br>{{KHx}}
Swaying Spook KHX.png|[[Swaying Spook]]<br>{{KHx}}
Wandering Spook KHX.png|[[Wandering Spook]]<br>{{Ux}}
Round Rice Cake KHX.png|[[Round Rice Cake]]<br>{{Ux}}<sup>[JP]</sup>
Large Rice Cake KHX.png|[[Large Rice Cake]]<br>{{Ux}}
Bitter Macaron KHX.png|[[Bitter Macaron]]<br>{{KHx}}
Mighty Macaron KHX.png|[[Mighty Macaron]]<br>{{KHx}}
Powerwild KHX.png|[[Powerwild]]<br>{{Ux}}{{DR}}
Cheery Ape KHX.png|[[Cheery Ape]]<br>{{KHx}}
Wild Shaman KHUX.png|[[Wild Shaman]]<br>{{Ux}}
File:Bandit KH.png|[[Bandit]]<br>{{KH}}{{KHCoM}}{{KHc}}{{Ux}}{{DR}}
File:Luna Bandit KHII.png|[[Luna Bandit]]<br>{{KHII}}{{Ux}}
Red Bandit KHX.png|[[Red Bandit]]<br>{{Ux}}{{DR}}
Swordsman KHX.png|[[Swordsman]]<br>{{KHx}}
File:Pot Spider KH.png|[[Pot Spider]]<br>{{KH}}{{Ux}}{{DR}}
File:Barrel Spider KH.png|[[Barrel Spider]]<br>{{KHCoM}}
File:Pot Scorpion KHFM.png|[[Pot Scorpion]]<br>{{FM}}{{Ux}}{{DR}}
Search Ghost KHX.png|[[Search Ghost]]<br>{{Ux}}
Gargoyle KHX.png|[[Gargoyle]]<br>{{Ux}}{{DR}}
Margoyle KHUX.png|[[Margoyle]]{{DR}}
Wight Knight KHUX.png|[[Wight Knight]]<br>{{Ux}}{{DR}}
File:Darkball KH.png|[[Darkball]]<br>{{KH}}{{KHc}}{{Ux}}{{DR}}
Circus Balloon KHX.png|[[Circus Balloon]]<br>{{Ux}}
Bunch O' Balloons KHUX.png|[[Bunch O' Balloons]]<br>{{Ux}}
File:Wyvern KH.png|[[Wyvern]]<br>{{KH}}{{Ux}}{{DR}}
File:Defender KHX.png|[[Defender]]<br>{{KHc}}{{Ux}}{{DR}}
File:Eliminator KHX.png|[[Eliminator]]<br>{{KHc}}{{Ux}}{{DR}}
Armed Warrior KHX.png|[[Armed Warrior]]<br>{{Ux}}
Pleasure Dog KHUX.png|[[Pleasure Dog]]<br>{{Ux}}<sup>[JP]</sup>
Upright Defender KHUX.png|[[Upright Defender]]<br>{{Ux}}
Reversed Defender KHUX.png|[[Reversed Defender]]<br>{{Ux}}
File:Wizard KH.png|[[Wizard]]<br>{{KH}}{{Ux}}{{DR}}
File:High Wizard KHX.png|[[High Wizard]]<br>{{Ux}}{{DR}}
File:White Mushroom KH.png|[[White Mushroom]]<br>{{KH}}{{KHCoM}}
File:Black Fungus KH.png|[[Black Fungus]]<br>{{KH}}{{KHCoM}}
File:Gold Tricholoma KHUX.png|[[Gold Tricholoma]]<br>{{KHc}}{{Ux}}
Pink Agaricus KHUX.png|[[Pink Agaricus]]<br>{{Ux}}
File:Invisible KHD.png|[[Invisible]]<br>{{KHD}}{{Ux}}{{DR}}
Ogre KHUX.png|[[Ogre]]<br>{{Ux}}{{DR}}
File:Neoshadow KHII.png|[[Neoshadow]]<br>{{KHII}}{{Ux}}
Creeper Plant KHX.png|[[Creeper Plant]]<br>{{Ux}}
File:Dire Plant KHD.png|[[Dire Plant]]<br>{{KHD}}{{Ux}}
File:Fire Plant KHD.png|[[Fire Plant]]<br>{{KHD}}{{Ux}}{{DR}}
Ice Plant KHX.png|[[Ice Plant]]<br>{{Ux}}
Dark Plant KHX.png|[[Dark Plant]]<br>{{Ux}}
White Rose KHX.png|[[White Rose]]<br>{{Ux}}
Red Rose KHX.png|[[Red Rose]]<br>{{Ux}}
Creeper Bouquet KHX.png|[[Creeper Bouquet]]<br>{{KHx}}
Prank Bouquet KHX.png|[[Prank Bouquet]]<br>{{KHx}}
File:Crescendo KHII.png|[[Loudmouth]]<br>{{KHD}}{{Ux}}
Tornado Step KHX.png|[[Tornado Step]]<br>{{Ux}}
Eggster Bunny KHX.png|[[Eggster Bunny]]<br>{{KHx}}
Terrible Tomte KHX.png|[[Terrible Tomte]]<br>{{KHx}}
Warlock Step KHUX.png|[[Warlock Step]]<br>{{Ux}}
Upright Warlock KHUX.png|[[Upright Warlock]]<br>{{Ux}}
Bad Dog KHX.png|[[Bad Dog]]<br>{{Ux}}
Raging Reindeer KHX.png|[[Raging Reindeer]]<br>{{KHx}}
Rush Sheep KHX.png|[[Rush Sheep]]<br>{{KHx}}
File:Hook Bat KHII.png|[[Hook Bat]]<br>{{KHII}}{{Ux}}
Golden Hook Bat KHUX.png|[[Golden Hook Bat]]<br>{{Ux}}
File:Barrier Master KHD.png|[[Barrier Master]]<br>{{KHD}}{{Ux}}
Minute Bomb KHX.png|[[Minute Bomb]]<br>{{Ux}}
Growth Egg KHX.png|[[Growth Egg]]<br>{{Ux}}
Munny Egg KHUX.png|[[Munny Egg]]<br>{{Ux}}
Prize Egg KHX.png|[[Prize Egg]]<br>{{Ux}}
Eggcognito KHX.png|[[Eggcognito]]<br>{{Ux}}{{DR}}
Shenaneggan KHX.png|[[Shenaneggan]]<br>{{KHx}}
Eggscapade KHX.png|[[Eggscapade]]<br>{{Ux}}
Sparkler KHUX.png|[[Sparkler]]<br>{{Ux}}{{DR}}
File:Bulky Vendor KHII.png|[[Bulky Vendor]]<br>{{KHD}}{{KHII}}
Hammer Frame KHX.png|[[Hammer Frame]]<br>{{Ux}}
Silver Hammer Frame KHUX.png|[[Silver Hammer Frame]]<br>{{Ux}}
Gold Hammer Frame KHUX.png|[[Gold Hammer Frame]]<br>{{Ux}}
File:Fortuneteller KHII.png|[[Fortuneteller]]<br>{{KHII}}{{Ux}}
File:Rapid Thruster KHII.png|[[Rapid Thruster]]<br>{{KHII}}
Cannon Gun KHX.png|[[Cannon Gun]]<br>{{Ux}}
Red Gummi Copter KHX.png|[[Red Gummi Copter]]<br>{{Ux}}
Red Copter Fleet KHX.png|[[Red Copter Fleet]]<br>{{Ux}}
Blue Gummi Copter KHX.png|[[Blue Gummi Copter]]<br>{{Ux}}
Blue Copter Fleet KHX.png|[[Blue Copter Fleet]]<br>{{Ux}}
Yellow Gummi Copter KHX.png|[[Yellow Gummi Copter]]<br>{{Ux}}
Yellow Copter Fleet KHX.png|[[Yellow Copter Fleet]]<br>{{Ux}}
Black Gummi Copter KHX.png|[[Black Gummi Copter]]<br>{{Ux}}
Black Copter Fleet KHX.png|[[Black Copter Fleet]]<br>{{Ux}}
Morning Star KHX.png|[[Morning Star]]<br>{{Ux}}{{DR}}
Gummi Hammer KHX.png|[[Gummi Hammer]]<br>{{Ux}}{{DR}}
Chocolate Gargoyle KHX.png|[[Chocolate Gargoyle]]<br>{{Ux}}
White Chocolate Statue KHX.png|[[White Chocolate Statue]]<br>{{KHx}}
Aeroplane KHX.png|[[Aeroplane]]<br>{{Ux}}{{DR}}
Gilled Glider KHX.png|[[Gilled Glider]]<br>{{Ux}}
Aerial Knocker KHX.png|[[Aerial Knocker]]<br>{{Ux}}
Armored Knight KHX.png|[[Armored Knight]]<br>{{Ux}}{{DR}}
File:Possessor KHII.png|[[Possessor]]<br>{{KHD}}{{Ux}}{{DR}}
File:Massive Possessor KHD.png|[[Massive Possessor]]<br>{{KHD}}
Possessors KHX.png|[[Possessors]]<br>{{Ux}}
Pink Possessor KHX.png|[[Pink Possessor]]<br>{{KHx}}
Cloudy Sunrise KHX.png|[[Cloudy Sunrise]]<br>{{Ux}}
File:Spiked Crawler KHD.png|[[Spiked Crawler]]<br>{{KHD}}
File:Fiery Globe KHII.png|[[Fiery Globe]]<br>{{KHII}}
File:Icy Cube KHII.png|[[Icy Cube]]<br>{{KHII}}
File:Cymbal Monkey KHD.png|[[Cymbal Monkey]]<br>{{KHD}}
File:Tricky Monkey KHD.png|[[Tricky Monkey]]<br>{{KHD}}
File:Aerial Master KHD.png|[[Aerial Master]]<br>{{KHD}}
File:Zip Slasher KHD.png|[[Zip Slasher]]<br>{{KHD}}
File:Shadow Glob KHD.png|[[Shadow Glob]]<br>{{KHD}}
File:Blox Bug KHREC.png|[[Blox Bug]]<br>{{KHc}}
File:Danger Bug KHREC.png|[[Danger Bug]]<br>{{KHc}}
File:Metal Bug KHREC.png|[[Metal Bug]]<br>{{KHc}}
File:Prize Bug KHREC.png|[[Prize Bug]]<br>{{KHc}}
Dual Blade KHX.png|[[Dual Blade]]<br>{{Ux}}
Dual Durandal KHX.png|[[Dual Durandal]]<br>{{Ux}}
Heat Saber KHUX.png|[[Heat Saber]]<br>{{Ux}}{{DR}}
Chill Ripper KHUX.png|[[Chill Ripper]]<br>{{Ux}}{{DR}}
Blitz Spear KHUX.png|[[Blitz Spear]]<br>{{Ux}}{{DR}}
Nosy Mole KHX.png|[[Nosy Mole]]<br>{{Ux}}
Pester Jester KHX.png|[[Pester Jester]]<br>{{KHx}}
Armored Archer KHX.png|[[Armored Archer]]<br>{{Ux}}{{DR}}
Poison Archer KHUX.png|[[Poison Archer]]<br>{{Ux}}{{DR}}
Paralysis Archer KHUX.png|[[Paralysis Archer]]<br>{{Ux}}{{DR}}
Sleep Archer KHUX.png|[[Sleep Archer]]<br>{{Ux}}{{DR}}
Bag O' Coal KHX.png|[[Bag O' Coal]]<br>{{Ux}}
Bag O' Coins KHX.png|[[Bag O' Coins]]<br>{{Ux}}
Bag O' Jewels KHX.png|[[Bag O' Jewels]]<br>{{Ux}}{{DR}}
Bag O' Gifts KHX.png|[[Bag O' Gifts]]<br>{{KHx}}
Chomper Egg KHX.png|[[Chomper Egg]]<br>{{Ux}}{{DR}}
Wind-Up Leaf Cake KHX.png|[[Wind-Up Leaf Cake]]<br>{{KHx}}
Wibble Wobble KHX.png|[[Wibble Wobble]]<br>{{Ux}}
Strange Tree KHX.png|[[Strange Tree]]<br>{{KHx}}
Circus Clown KHX.png|[[Circus Clown]]<br>{{KHx}}
Pretender KHX.png|[[Pretender]]<br>{{Ux}}
Great Pretender KHX.png|[[Great Pretender]]<br>{{Ux}}
King Pretender KHX.png|[[King Pretender]]<br>{{Ux}}
Royal Pretender KHUX.png|[[Royal Pretender]]<br>{{Ux}}
Nimble Bee KHX.png|[[Nimble Bee]]<br>{{Ux}}
Stinging Bee KHX.png|[[Stinging Bee]]<br>{{Ux}}
Cannoned Camel KHX.png|[[Cannoned Camel]]<br>{{Ux}}
Wicked Wick KHUX.png|[[Wicked Wick]]<br>{{Ux}}
Poison Pot KHUX.png|[[Poison Pot]]<br>{{Ux}}
Ratty Rat KHUX.png|[[Ratty Rat]]<br>{{Ux}}
Ring-A-Ding KHUX.png|[[Ring-A-Ding]]<br>{{Ux}}
Piercing Knight KHUX.png|[[Piercing Knight]]<br>{{Ux}}
Chipper Chef KHUX.png|[[Chipper Chef]]<br>{{Ux}}<sup>[JP]</sup>
Gearbit KHUX.png|[[Gearbit]]<br>{{Ux}}
Red Gummi Saucer KHUX.png|[[Red Gummi Saucer]]<br>{{Ux}}
Fluttering KHUX.png|[[Fluttering]]<br>{{Ux}}{{DR}}
Lance Soldier KHX.png|[[Lance Soldier]]<br>{{DR}}
Flame Core KHDR.png|[[Flame Core]]<br>{{DR}}
File:Pot Centipede KH.png|'''[[Pot Centipede]]'''<br>{{KH}}{{Ux}}{{DR}}
File:Kurt Zisa KH.png|'''[[Kurt Zisa]]'''<br>{{KH}}
Savage Vanguard KHUX.png|'''[[Savage Vanguard]]'''<br>{{Ux}}
Savage Vanguard Ω KHUX.png|'''[[Savage Vanguard Ω]]'''<br>{{Ux}}
File:Volcanic Lord KHII.png|'''[[Volcanic Lord]]'''<br>{{KHII}}{{Ux}}{{DR}}
File:Blizzard Lord KHII.png|'''[[Blizzard Lord]]'''<br>{{KHII}}{{Ux}}{{DR}}
File:Mushroom XIII No. 5 KHIIFM.png|'''[[Mushroom XIII No. 5]]'''<br>{{FMII}}
File:Antlion KHD.png|'''[[Antlion]]'''<br>{{KHD}}
Martial Monkey KHUX.png|'''[[Martial Monkey]]'''<br>{{Ux}}
Ferry Reaper KHUX.png|'''[[Ferry Reaper]]'''<br>{{Ux}}
Darkside KHX.png|'''[[Darkside]]'''<br>{{Ux}}
Darkside Ω KHX.png|'''[[Darkside Ω]]'''<br>{{Ux}}
Guard Armor Ω KHX.png|'''[[Guard Armor Ω]]'''<br>{{Ux}}
Behemoth KHX.png|'''[[Behemoth]]'''<br>{{Ux}}
Behemoth Ω KHX.png|'''[[Behemoth Ω]]'''<br>{{Ux}}
Savage Spider KHX.png|'''[[Savage Spider]]'''<br>{{Ux}}
Fortress Crab KHX.png|'''[[Fortress Crab]]'''<br>{{Ux}}
Queen Bee KHX.png|'''[[Queen Bee]]'''<br>{{Ux}}
Queen Bee Ω KHX.png|'''[[Queen Bee Ω]]'''<br>{{Ux}}
Gummi Hound KHX.png|'''[[Gummi Hound]]'''<br>{{Ux}}
Assault Dragon KHUX.png|'''[[Assault Dragon]]'''<br>{{Ux}}
Closehanded Captain KHX.png|'''[[Closehanded Captain]]'''<br>{{Ux}}
Adventurer KHUX.png|'''[[Adventurer]]'''<br>{{Ux}}
Gear Golem KHUX.png|'''[[Gear Golem]]'''<br>{{Ux}}
Loudmouth Parade KHUX.png|'''[[Loudmouth Parade]]'''<br>{{Ux}}
Wayward Wardrobe KHX.png|'''[[Wayward Wardrobe]]'''<br>{{Ux}}
Wily Bandit KHX.png|'''[[Wily Bandit]]'''<br>{{Ux}}
Werewolf KHUX.png|'''[[Werewolf]]'''<br>{{Ux}}
Mean Maiden KHUX.png|'''[[Mean Maiden]]'''<br>{{Ux}}
Iron Giant KHUX.png|'''[[Iron Giant]]'''<br>{{Ux}}
Shiva KHUX.png|'''[[Shiva]]<br>'''{{Ux}}
Ifrit KHUX.png|'''{{c|Ifrit|Heartless}}'''<br>{{Ux}}{{DR}}
</gallery>
|}


|- style="background:#FFF8DC;"
===Nobodies===
|rowspan="6"| '''Regular'''
{|class="wikitable mw-collapsible mw-collapsed"
|[[Cottage]] x 3
!
|
|
|-
|-
|[[Elixir]] x 2
|
|
|
<gallery>
|-
File:Vexen's Absent Silhouette KHIIFM.png|'''[[Absent Silhouette|Vexen's Absent Silhouette]]'''<br>{{FMII}}
|[[Megalixir]]
</gallery>
|
|
|-
|[[Mega-Ether]] x 3
|
|
|-
|[[Mega-Potion]] x 4
|
|
|-
|[[100 Acre Wood|Torn Page]]
|
|
|- style="background:#FFE4C4;"
| rowspan="5"| '''Gummis'''
| [[Aeroga-G]]
|
|
|-
|[[Dispel-G]]
|
|
|-
|[[Meteor-G]]
|
|
|-
|[[Shell-G]] x 2
|
|
|-
|[[Thundaga-G]] x 2
|
|
|- style="background:#FFF8DC;"
| '''Power-Ups'''
|[[Defense Up]]
|
|
|- style="background:#FFE4C4;"
| rowspan="2"| '''[[Item Synthesis|Synthesis]]'''
|[[Mythril|Mythril Shard]] x 2
|
|
|-
|[[Mythril]] x 3
|
|
|- style="background:#FFF8DC;"
| rowspan="3"| '''Special'''
|[[Fira Ring]]
|
|
|-
|[[Protega Chain]]
|
|
|-
|[[Protera Chain]]
|
|
|-
|}
|}


===[[Kingdom Hearts II]]===
===Other===
{| border="1" cellpadding="5" cellspacing="0" align="center"
{|class="wikitable mw-collapsible mw-collapsed"
!
|-
|-
!style="background:#C71585;"| Type
!style="background:#C71585;"| Items Found
!style="background:#C71585;" width="200pt"| Locations
!style="background:#C71585;" width="200pt"| Notes
|- style="background:#FFF8DC;"
| rowspan="3"| '''Regular'''
|[[Drive Recovery]] x 2
|
|
|-
<gallery>
|[[Hi-Potion]] x 4
File:Cave of Wonders Guardian KH.png|'''[[Cave of Wonders Guardian]]'''<br>{{KH}}
File:Jafar KHREC.png|'''[[Game:Jafar|Jafar]]'''<br>{{KH}}{{KHc}}
|
File:Jafar's Shadow KHII.png|'''[[Game:Jafar|Jafar's Shadow]]'''<br>{{KHII}}
|-
File:Genie KH.png|'''[[Game:Genie|Genie]]'''<br>{{KH}}
|[[Mega-Ether]]  
File:Jafar (Cobra) KHUX.png|'''[[Jafar (Cobra)|Cobra Jafar]]'''<br>{{Ux}}
File:Jafar (Genie) KHII.png|'''[[Jafar (Genie)|Genie Jafar]]'''<br>{{KH}}{{KHCoM}}{{KHII}}{{KHc}}{{Ux}}
|
File:Iago KHREC.png|'''[[Jafar (Genie)|Iago]]'''<br>{{KH}}{{KHCoM}}{{KHc}}
|- style="background:#FFE4C4;"
File:Pete (Battle) KHD.png|'''[[Game:Pete|Pete]]'''<br>{{KHD}}
| '''Power-Ups'''
File:Xion Third Form KHD.png|'''[[Game:Xion|Xion (Third Form)]]'''<br>{{KHD}}
| [[AP Boost]] x 5
</gallery>
|
|
|- style="background:#FFF8DC;"
| rowspan="4"| '''[[Item Synthesis|Synthesis]]'''
|[[Mythril|Mythril Shard]] x 5
|
|
|-
|[[Mythril Stone]] x 3
|
|
|-
|[[Mythril Gem]]
|
|
|-
|[[Serenity|Serenity Shard]]
|
|
|- style="background:#FFE4C4;"
| rowspan="2" |'''Maps'''
| Cave of Wonders Map
|
|
|-
|Ruins Map
|
|
|- style="background:#FFF8DC;"
| rowspan="2"|'''Special'''
| [[Skill Ring]]
|
|
|-
|[[100 Acre Wood|Torn Pages]]
|
|
|-
|}
|}
 
{{KH1}}
 
{{COM}}
 
{{KH2}}
 
{{358}}
 
{{Coded}}
==Trivia==
{{XChi}}
* Strangely enough, the only character of the Aladdin main cast that is always absent in the games is Jasmine's father, the Sultan of Agrabah. Despite him having a large part in the stories of the movies and it's TV show, the Sultan has yet to appear in the Agrabah world or in any Kingdom Hearts game. He was mentioned in Kingdom Hearts II, though.
{{KHDR}}
* In the first Kingdom Hearts, Agrabah's story follows that of the original Aladdin, while in the second game, the world's plot is similar to that of Aladdin: The Return of Jafar, the series' second movie.
{{MOM}}
*One screenshot from Kingdom Hearts 358/2 Days shows Roxas interacting with Genie, showing that there will be a plot, but as this takes place between the two games, and the third Aladdin movie's events wouldn't happen before Kingdom Hearts II, it can be assumed their will be no storyline similarities to anything from the Aladdin universe.
[[Category:Datascape]]
 
{{-}}
{{Worlds}}
[[Category: Places]]
[[Category: Worlds]]
[[Category: Agrabah]]

Latest revision as of 18:11, 12 November 2024

This article is about the World.
You may be looking for the chapter in the Kingdom Hearts manga or the area in Castle Oblivion.
Agrabah

Agrabah KH.png
Agrabah Logo KH.png

Agrabah KHII.png
Agrabah Logo KHII.png
Japanese アグラバー

Romaji Agurabā
Games Kingdom Hearts
Kingdom Hearts Chain of Memories
Kingdom Hearts II
Kingdom Hearts 358/2 Days
Kingdom Hearts coded
Kingdom Hearts χ
Kingdom Hearts Dark Road
Kingdom Hearts Melody of Memory

Allies Aladdin[KH I][KH CoM][KH II]
Genie[KH coded]
Assistants Carpet, Abu[KH I][KH II]
Iago[KH II]
Origin Aladdin (1992)
Themes Header.png

KH tracks
Field theme - A Day in Agrabah
Battle theme - Arabian Dream
KHCOM tracks
Field theme - A Day in Agrabah
Battle theme - Arabian Dream
KHII tracks
Field theme - A Day in Agrabah
Battle theme - Arabian Dream
Battle theme - Arabian Daydream
KHD tracks
Field theme - A Day in Agrabah
Battle theme - Arabian Dream
Other worlds
Introduced in Kingdom Hearts
Dive to the Heart | Destiny Islands | Disney Castle
Traverse Town | Wonderland | Olympus Coliseum
Deep Jungle | Agrabah | Monstro
Atlantica | Halloween Town | Neverland
100 Acre Wood | Hollow Bastion
End of the World | Realm of Darkness
Introduced in Kingdom Hearts Chain of Memories
Castle Oblivion | Twilight Town
Introduced in Kingdom Hearts II
Mysterious Tower | Radiant Garden
The Land of Dragons | Beast's Castle | Timeless River
Port Royal | Pride Lands | Space Paranoids
The World That Never Was | End of Sea | Keyblade Graveyard
Introduced in Kingdom Hearts coded
Datascape
Introduced in Kingdom Hearts Birth by Sleep
Land of Departure | Mirage Arena
Dwarf Woodlands | Enchanted Dominion | Castle of Dreams
Disney Town | Deep Space
Introduced in Kingdom Hearts 3D: Dream Drop Distance
La Cité des Cloches | The Grid | Symphony of Sorcery
Country of the Musketeers | Prankster's Paradise
Introduced in Kingdom Hearts χ[chi]
Daybreak Town
Introduced in Kingdom Hearts Union χ[Cross]
Game Central Station | Niceland | Cy-Bug Sector | Candy Kingdom
Introduced in Kingdom Hearts III
The Final World | Secret Forest | Olympus
Toy Box | Kingdom of Corona | Monstropolis
Arendelle | The Caribbean | San Fransokyo
Scala ad Caelum | Quadratum

Agrabah is a world in the Kingdom Hearts series, based on Disney's 1992 film Aladdin, as well as its sequel, The Return of Jafar. 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.

Settings and Areas[edit]

Kingdom Hearts[edit]

Artwork of the Main Street in Agrabah.

The world of Agrabah is divided into two regions. The first region is the city of Agrabah (アグラバー Agurabā?) itself, where the Sultan's Palace is located. Sora and his party arrive in Agrabah's Plaza (城門広場 Jōmon Hiroba?, lit. "City Gate Plaza"), where they are immediatly attacked by Heartless. Connecting through a door is the Storage (物置部屋 Mono'okibeya?, lit. "Storage Room"), with no enemies and a save point, as well as a few other goodies. Heading north from the Plaza leads to the Main Street (大通り Ōdōri?). Continuing north takes them to the Palace Gates (王宮前 Ōkyū Mae?, lit. "Royal Palace Anterior"), where the battle with the Pot Centipede begins, eventually playing out throughout the entire city. Heading west from Main Street sends them into the Alley (裏通り Uradōri?), while entering the high entrance to the east goes into the Bazaar (バザール 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 Aladdin's House (アラジンの家 Arajin no Ie?) and another save point.

Leaving the city initially takes Sora's group to the Desert (砂漠 Sabaku?), but once the Carpet joins them they can reach the Cave (洞窟入口 Dōkutsu Iriguchi?, lit. "Cave Entrance"). There 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. The Desert can be briefly accessed later in the game - now surrounded by stone pillars - during the optional battle against Kurt Zisa.

The entrance to the Cave of Wonders
The entrance to the Cave of Wonders.

Heading into the Cave of Wonders (simply known as the Cave (魔法の洞窟 Mahō no Dōkutsu?, lit. "Cave of Magic")), the party will arrive at its Entrance (魔法の洞窟:入口 Mahō no Dōkutsu: Iriguchi?, lit. "Cave of Magic: Entrance") where they'll be immediatley met by a boulder trap. Going forward leads them to the Hall (広間 Hiroma?), a massive room full of traps such as boulders, and squirting water. Heading through the door on the opposite side leads to the Bottomless Hall (底なしの間 Sokonashi no Ma?, lit. "Bottomless Chamber"), 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 Treasure Room (宝物庫 Hōmotsugura?, lit. "Treasury"); it is from here that they eventually gain access to the Lamp Chamber (ランプの間 Ranpu no Ma?) and the Jafar boss battle. Below the Lamp Chamber is the Core (最深部 Saishinbu?, lit. "Depths"), filled with lava and stone pillars.

The lower chambers are mostly full of water and are navigated by swimming. The Dark Chamber (魔法の洞窟:暗闇の間 Mahō no Dōkutsu: Kurayami no Ma?, lit. "Cave of Magic: Dark Chamber") 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 Relic Chamber (魔法の洞窟:遺物の間 Mahō no Dōkutsu: Ibutsu no Ma?, lit. "Cave of Magic: Relic Chamber"), the Hidden Room (隠された部屋 Kakusareta Heya?), and the Silent Chamber (沈黙の間 Chinmoku no Ma?) also hold various treasures and triggers that only Abu can access.

Kingdom Hearts Chain of Memories[edit]

Agrabah is recreated inside Castle Oblivion as a figment of Sora's memories. The world is explored through boxed-in areas resembling the city of Agrabah. In cutscenes areas such as the Main Street, the Plaza, the Bazaar, and the Palace Gates are revisited. A slightly altered version of the Core serve as an arena during the battle against Genie Jafar, with their only being six platforms in the middle now as opposed to many across the room.

Kingdom Hearts II[edit]

The Treasure Room in Kingdom Hearts II.

Agrabah takes on a much different appearance in Kingdom Hearts II. The city areas are a lot larger than any from the previous game, with many bridges and pits. The first area is simply named Agrabah (アグラバー市街 Agurabā Shigai?, lit. "Agrabah Streets"), and serves as the city's main part. In a quite unpolished part of this area is where the Peddler's Shop (商人の店 Shōnin no Mise?, lit. "Merchant's Shop") is located, which also houses a Moogle Shop. The Palace (王宮前 Ōkyū Mae?, lit. "Royal Palace Anterior") can also be reached from the main city area, and is a small garden right outside the main palace. The Blizzard Lord and Volcanic Lord are also fought here. The city's second big area is the Bazaar (バザール Bazāru?), and is overflown with small shops and stands. During cutscenes an area called Palace Dungeon is seen, which is where Sora and the others lock away Jafar's lamp, after Pete attempted to release him.

Leaving the Bazaar leads to the city's entrance, the Palace Walls (城壁の外 Jōheki no Soto?, lit. "Outside the City Walls"), which is a small area with some trees, bushes, and an oasis in the distance. From their the party can chose between two paths. In Sora's first visit to the world, the left path is the only one available, and takes him to the Cave of Wonders: Entrance (魔法の洞窟:入口 Mahō no Dōkutsu: Iriguchi?, lit. "Cave of Magic: Entrance"). Entering the cave takes Sora to the Valley of Stone (巨像の谷 Kyozō no Tani?, lit. "Valley of the Colossus"), which reveals the cave's drastically different design. On each side of the path are enormous chasms which seem to go on forever, with several wide rectangular boxes floating across the area. Traversing past some odd statues at the end of the passage leads to the Stone Guardians (守護像の住処 Shugo-zō no Sumika?, lit. "Dwelling of the Guardian Statues"), where a quick water puzzle ensues. Completing the puzzle takes Sora and company to the Chasm of Challenges (試練の間 Shiren no Ma?, lit. "Room of Trials"). Here, the gang must defeat a number of Heartless in a short amount of time, while slowly falling through several platforms. If they succeed, the Treasure Room (宝物庫 Hōmotsuko?) becomes accessible.

When returning to Agrabah for the second visit, the right path outside the Palace Walls opens up, leading to the Sandswept Ruins (埋もれた廃墟 Umoreta Haikyo?, lit. "Buried Ruins"), which can only be navigated by Sora riding alone on Carpet. Passing through the buried city will take Sora and Carpet to a tower, located in the middle of a massive sinkhole, which houses the room called the Ruined Chamber (廃墟の一室 Haikyo no Isshitsu?, lit. "Room of the Ruins").

During the battle against Genie Jafar, Sora rides Carpet above the city of Agrabah, giving great view of the palace, the city, and the dessert and mountains surrounding both.

Area Map in Kingdom Hearts II

minimaps

Kingdom Hearts 358/2 Days[edit]

In Kingdom Hearts 358/2 Days, Agrabah has a similar appearance as it had in the first game, but due to the sandstorms caused by the Antlion, as well as the city's 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 (城門広場 Jōmon Hiroba?, lit. "City Gate Plaza"), Agrabah Street (大通り Ōdōri?, lit. "Main Street"), and The Palace (王宮前 Ōkyū Mae?, lit. "Front of the Royal Palace"), respectively—are still available, only with some extra piles of sand and construction equipment. The Cave of Wonders (砂漠:洞窟入口 Sabaku: Dōkutsu Iriguchi?, lit. "Desert: Cave Entrance") is still available, but has undergone a transformation. It consists of an Entrance Hall (入口大広間 Irikuchi Ōhiroma?) that leads up to the next level, the Pillar Room (柱の間 Hashira no Ma?) filled with pillars that sink and rink. Beyond that is the Abyss (奈落の間 Naraku no Ma?, lit. "Abyss Room") that has a stairway above a huge drop back down to the Entrance. Beyond the Abyss is the Hidden Room (閉ざされた部屋 Tozasareta Heya?, lit. "Closed Room"), 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 Secret Depths (秘密の地下 Himitsu no Chika?, lit. "Secret Basement") is later found by Roxas and Xion when tracking a Large Armor. Activating the mechanisms here unlocks a new path to the now relocated Lamp Chamber (ランプの間 Ranpu no Ma?, lit. "Lamp's Room").

The Sandswept Ruins (埋もれた廃墟 Umoreta Haikyo?, lit. "Buried Ruins") also makes a return, and is now explorable by foot. This is also where the battle against the Antlion Heartless take place.

Area Map in Kingdom Hearts 358/2 Days

minimaps

Kingdom Hearts coded[edit]

Agrabah while frozen in time due to Jafar's spell.

A data version of Agrabah appears within the Datascape in Kingdom Hearts coded, and is based off its appearance from Kingdom Hearts. The first area is the Plaza (城門広場 Jōmon Hiroba?, lit. "City Gate Plaza") which connect to the Main Street (大通り Ōdōri?). From there Data-Sora can chose between several gateways. Heading west leads to the Alley (裏通り Uradōri?) where a fight against Jafar occur, while entering the high entrance to the east goes into the Bazaar (バザール Bazāru?). Continuing north takes him to the Palace Gates (王宮前 Ōkyū Mae?, lit. "Front of the Royal Palace"). All of these areas interconnect on several levels, both high and low. After Jafar's cast a powerful spell on Agrabah, all areas of the city will turn green, with characters and Heartless frozen in time.

Traveling to the Cave of Wonders Cave / Entrance (タイガーヘッド Taigā Heddo?, lit. "Tiger Head") leads to a new area within the cave, the Cave / Hall of Beginnings (魔法の洞窟 始まりの間 Mahō no Dōkutsu Hajimari no Ma?, lit. "Cave of Magic Room of Beginning"). A long and twisty corridor, with similar aesthetics to the first game's Cave of Wonders. The next room is also a new one and is named Cave / Gauntlet (魔法の洞窟 試練の道 Mahō no Dōkutsu Shiren no Michi?, lit. "Cave of Magic Path of Trials"), where there's great risk of falling down to lower sections of the area. At the end of the room is an elevator made of Bug Blox, which will take Data-Sora down to the Cave / Lamp Chamber (魔法の洞窟 ランプの間 Mahō no Dōkutsu Rampu no Ma?, lit. "Cave of Magic Lamp Room").

Once Data-Sora find the Keyhole (鍵穴 Kagiana?) he can access it, which takes him to the Keyhole / Terminus (鍵穴:最深部 Kagiana: Saishinbu?, lit. "Keyhole: Deepest Part"). The area is similar to the Core from the first game, though there's a square prism in the middle of the room with a square hole, where Genie Jafar resides. The lava is also patterned similar to the Bug Bloxes.

Across the world are a total of five System Sector Backdoors. The only one within the city can be found at the Palace Gates on a wall near the high platform in the northwest corner. At the Entrance there's one to west of the tiger head, and another one on a wall in a small square alcove, near the center of the Hall of Beginnings. The last two are found within the Gauntlet. One's inside one of the pits, while the final Backdoor is located on the L-shaped platform near the elevator.

Across the world are also all kinds of Bug Blox which can be traversed and interacted with.

Area Map in Kingdom Hearts Re:coded

minimaps

Kingdom Hearts χ[edit]

Story[edit]

Kingdom Hearts χ[edit]

Screenshot
Aladdin confronts the Wily Bandit.

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, Player 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.

Screenshot
Player and Aladdin fight against the Wily Bandit.

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 χ[edit]

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.

Later, Player returns to Agrabah to check up on Aladdin and Jasmine. They find the pair at the desert oasis with Abu and Carpet. Aladdin and Jasmine thank Player for visiting and that they plan to travel the world, to meet new people and have more adventures.

Kingdom Hearts Dark Road[edit]

Agrabah is the first world visited by Xehanort, Eraqus and their fellow Keyblade wielders in their search for the upper classmen. During the initial visit, they notice the absence of residents, which Xehanort theorizes is because the World's "reboot" is still in its infancy, so the World is still devoid of life at present.

Later, Xehanort returns with Urd and Hermod to find inhabitants have started to appear. They are met by Jafar, and his parrot Iago, who asks them to help him save Agrabah by retrieving a special lamp from a nearby cave. The Keyblade wielders agree and head to the Cave of Wonders, which grants them access, but warns them not to touch anything but the lamp inside. Xehanort admits he doesn't fully trust Jafar, as he sensed greed in his heart, to which the others agree and decide not to give him the lamp, but still take the opportunity to explore parts of the world they were otherwise unable to before. However, Xehanort also admits his concern over the warning the Cave gave them before entering and wonders if Eraqus is there as well, with the others agreeing they should search for him.

Journeying deeper into the cave, they find Eraqus and Bragi and reiterate the warning about not touching anything. Eraqus admits he and Bragi were also ask to retrieve the Lamp for Jafar, and that they also had doubts about his true intentions. The Keyblade wielders all agree to they should find the lamp, with Urd expressing her belief it is the key to this World's order. Urd reveals the conversation she had with Vala in Beast's Castle, that every world has something that helps maintain its order and that the upper classmen are looking for such things. Xehanort also thinks that finding the Lamp will also lead them to the upper classmen and Vor. When the Keyblade wielders find the lamp, Vidar and Vor appear. Vidar explains that he wants the lamp in order to find the Seven Lights that are the key to summoning Kingdom Hearts, with the intention of using it to purge the Worlds of darkness. Vor has agreed to help him and the other upper classmen achieve their goal and Vidar asks if Eraqus shares the same goal. Vidar asks Eraqus to take the Lamp and use it to find the lights before leaving with Vor. Xeharnort asks Eraqus if disrupting the World's order is really worth defeating darkness, to which Eraqus replies he is not sure anymore and decides to leave the lamp alone. The Keyblade wielders agree to return to Scala Ad Caelum and tell Master Odin what they have discovered.

Kingdom Hearts[edit]

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.

Jafar captures Jasmine and is confronted by Sora and Aladdin at the Palace Gates.

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.

Some time after Ansem, Seeker of Darkness is defeated, Jasmine returns to Agrabah from Hollow Bastion and reunites with Aladdin.

Kingdom Hearts Chain of Memories[edit]

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[edit]

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 Aladdin and Jasmine 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 Aladdin and Jasmine 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[edit]

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[edit]

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.

Other appearances[edit]

Kingdom Hearts V CAST[edit]

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

Characters[edit]

NPCs[edit]

Enemies[edit]

Heartless[edit]

Nobodies[edit]

Other[edit]