Once upon a time in the Kalos region, a fable circulated that told of the arrival of Xerneas and Yveltal - two legendary Pokemon - every millennium for a cataclysmic battle. This folklore became a matter of reality when Vaniville Town witnessed the aftermath of their destructive clash. X, a brilliant combatant, had retired from public life after an altercation with intrusive photographers. However, with a devastated hometown and the urgent need to escape danger from the nefarious Team Flare, he embarked on a perilous expedition with his childhood buddies - aspiring Sky Trainer Y, future academic Trevor, dancing ace Tierno, and fashionista Shauna. They encountered multiple obstacles along the way, and the quest also entailed uncovering the enigmatic Mega Evolution phenomena. The group encountered various trials, and solidarity and mutual reliance were crucial to overcoming them all.