Zarel/Pokemon-Showdown — pull request #889 by TalkTakesTime (2014-05-02 02:06:15+00:00)
Title: Remove formes with no learnset from /dexsearch

They'll only be removed if their base forme is present in the results; otherwise, they will appear as normal.

It has to be done this way because searches for moves are evaluated first, so there is no way to know at the start whether the base forme will be eliminated from the results set. Changing the order of evaluation just makes the results less accurate.