It’s been a big day for Pokémon Sun and Moon news, as a new trailer was released this morning, giving us tons of new details on the Alola region, its Legendary Pokémon, and more. Since the trailer launched, The Pokémon Company has updated the games’ official website to reveal that they will have a QR scanner function. By scanning QR Code patterns (which can be found in various places all around you), you can see information about your Pokémon.
You can also scan special QR Code patterns to register Pokémon of the Alola region to your Pokédex and find out where they live. If you scan in the QR Code for a Pokémon that you haven’t caught, you can check its habitat and search it out. You can display the QR Code patterns for Pokémon you have caught in your own Pokédex. If you and a friend show each other the QR Code patterns for Pokémon you have caught, you can both register the Pokémon in your Pokédexes.
Source: The Pokémon Company