How do you get the key card from on Pokemon pearl to the ware house?

a dude will drop it