Oh, sorry for misunderstanding. Yeah, it's different:
For the 3DS, you just exchange friend codes on the system and you can interact in the games automatically.
For the DS games, each game has its own friend code that you'd need to exchange. I'll be your friend in either one (or both!) so let me know!