Below are all the Legendary codes that were released:
Apologies - Will give you a lvl. 95 Mewtwo with you as the OT. Masterball is used! Must have the 8th Badge to obtain
ShinyFinale - Will give you a Shiny Cresselia! with a different name by the OT. Must have the 2nd badge to obtain.
OneMill - Will give you a Shiny Celebi! with a different name by the OT. Must have the 2nd badge to obtain
SHADOW-will give you a Aura Lugia with the OT as mystery gift . Must have at least 6 badges to obtain
CHILLBIRD-Will give you a red and blue aura articuno (Most Recent)
SolidRock-will give you a regirock-you require at least five badges to get it and its tradelocked so no trading
IceCold-will give a aura regice-you require at least six badges to get it and its tradelocked so no trading it