Are these all the ways to "indirectly learn" a move? I'm trying to write my own /ds command executor and I want to make sure it works right.
learnsets.jsis basically a dump of the list of moves that a given Pokémon be taught and how and in which generation(s). However Pokémon can have access to moves that they can't be taught directly, either via learning from a prior evolution, being hatched from an egg with a specific egg move, or from an event distribution, and in the case of Smeargle, by using the Sketch move in battle, although in the case of being hatched from an egg, some of those also have entries in
/dscommand takes all of these things into account when searching for matching Pokémon, and even makes sure that the moves are compatible (i.e. not mixing moves from, say, two different events).
Unfortunately you can't search both CAP and standard Pokémon at the same time.