go to the basement in the Pokecenter and talk to one of the ladies down there, they will get you the Item Pal Pad then you have to go on to the Wi-Fi and you'll get your Friend Code
my whole team was except for Dialga who was Lv. 48[hr]i don't know if i'll be able to trade in an hour, i don't know if i'll be around...is there any other time that works for you?