Friend codes are based on your 3DS, not your games.
Each Friend Code has a designated Pokémon type and specific Pokémon that will be obtainable in its Friend Safari, and these will not change, so the Friend Code determines the Friend Safari type.
Since you asked with 1 3DS/2DS, the games will have both FC and Friend Safari.