In the Mystery Dungeon games Mystery Dungeon: Red Rescue Team and Blue Rescue Team. At the beginning of the game, the player is presented with a quiz that decides which Pokémon they will play as, and then the partner is chosen (see below).
https://bulbapedia.bulbagarden.net/wiki/Partner_Pok%C3%A9mon_(Mystery_Dungeon)

