Night time. Truely a mysterious and wonderful time. What most ponies don't know is that some ponies have a secret night life.
Some of them sneak out to clubs. Some of them just like to party hard. Some are even rumored to be ponies that sleep during the day and are awake at night.
Then there are those select few ponies who serve as the eyes and ears for a secret organization run by Luna, The Princess of The Night.
Pinkie Pie is one of those ponies. In fact she just so happens to be the best of the best in her majesty's royal service, Agent P codenamed 001.
After returning from a trip to the Crystal Empire Pinkie Pie is called to service once again. Her mission this time is to travel back to the Crystal Empire and retrieve some magical artifacts that were created during the reign of the evil King Sombra.
Armed with the latest hi tech gadgets from T Branch 001 will stop at nothing to complete her mission. And anypony who gets in her way will be sorry.
This takes place after the events of "Crystal Empire Part 2" but before "Magic Duel".