The described method requires a cheating device. It says to use an AR to catch a trainer’s Pokémon, then go to Route 229 and battle Ace Trainer Felix, who will have Salamence.