Complex sentence: There are options to battle with either strangers or friends; in which case, one needs to register the friend code of another in their roster, like in other Nintendo Wi-Fi games.
Split into simpler sentences: There are options to battle with either strangers or friends. In the latter case, one needs to register the friend code of another in their roster, like in other Nintendo Wi-Fi games.