The movie's story is roughly based off that of The Legend of Zelda: Ocarina of Time. Link, who has been raised by the Kokiri, is sent to Hyrule City by the Great Deku Tree. Once there, he meets Princess Zelda who tells him what the Triforce symbol on his hand means and exactly who he is, Meanwhile, Ganon has arranged a banquet for the king, but this gesture, seemingly in good faith, is just a part of his evil scheme. At the banquet, the king is poisoned, and Ganon overthrows the kingdom. Link flees to the Temple of Time and takes the Master Sword, but is shocked when he finds he has suddenly traveled into the future. Link discovers that it is a bleak future, for Ganon has destroyed the land, and so he sets out to find Zelda. Along the way he meets Sheik, and learns that he will need the help of the sages to defeat Ganon. After he defeats demons that are guarding the sages, Link returns to Hyrule where he confronts donzens of Gerudo warriors and ultimately fights Ganon.