Terry Gilliam's tale where a young boy named Kevin, ignored by his gadget obsessed parents, awakes one night and finds his waredrobe has turned into a time portal. He winds up accidentally joining a group of six dwarfs who stole a map from their boss, the supreme being, using it to bounce through time stealing riches. All the while, they are chased by the supreme being, and monitored by the evil genius who plots to take the map from them. He preys on their greed by suckering them into trying to reach 'the worlds most marvelous object' which is located in the palace of darkness. They are captured and must work to stop the evil genius at all costs.