Takes place after Part 2 - Chapter 2...
With quill in hand, he began jotting down information from a new book he found about the Elements of Harmony after finishing his research on the dark entities that reside in Equestria.
"...'The Elements possess a powerful magic that can seal away dark entities...example #1: Discord was turned into a stone statue after Princesses Celestia and Luna used the Elements on him...example #2: After Luna's descent into darkness and becoming Nightmare Moon, Princess Celestia used the Elements to seal Nightmare away in the moon, giving her the nickname, The Mare in the Moon'...Interesting."
After Xehanort feels he has collected enough info, he took his newly-found journal and begins to leave, only to find a secret room that contains another journal on a pedestal. With a few curls of his fingers, his darkness conjures another pedestal and places his upon it, closing the secret room back up afterwards.
"Should Sora or any of his friends find this, it should give them a few clues as to what my next move will be...if I am betting on luck to help me, they may get the wrong idea and chase after a wild goose, as the saying goes."
Xehanort began to take his leave from the decrepit castle and proceed with the next part of his plan.