How to fix the "Invalid: Unable to match an encounter from origin game" using PKHEX
1. "View" that illegal pokemon.
2. On the "Main" tab go ahead and generate your pokemon however you want. *Starter pokemon can not have hidden abilities at the moment.*
3. Click on the "Met" tab...