Aladdin, the primary protagonist, is traveling a desert land, with a magic flute that summons a djinn named Ugo. The djinn has a huge and muscular body, but cannot remove his head from the flute, giving him a headless appearance and frequently causing even people he is trying to rescue to mistake him for a monster. The two meet Alibaba, a seemingly aloof young man who is trying to get rich, and together they explore a nearby treasure-filled dungeon. Aladdin and Alibaba eventually become true friends, along with Morgianna, a slave girl from a distant land that they free from her master. Together, the three encounter other djinn along their masters, and are forced to take sides in an imminent conflict that will decide the fate of the entire world.