In Castelia City On the northern street, on the left-hand side, leading to Route 4. There, you will find a building with a Hiker inside with a Pikachu. Head over to the elevator and go up to the 11th Floor. There are two people here, one in a clown suit, who is useful in another way and one in a lab coat, in the back right. He will tell you that he invented a machine but he will only let people who know the password use.
You need to give him two sets of phrases.
People: Feelings:
Everybody Happy
Stats: Connection:
Simple Connection