Is it possible to link a battle with friends?
From the Y-Comm menu, choose the Link Battle option, then press the + button to set a Link Code, so that you'll get matched up with each other. You have the option to engage in a single battle, double battle, or multi battle.