Zarel/Pokemon-Showdown — pull request #1034 by Relados (2014-06-24 18:54:10+00:00)
Title: Improve mega selection in randoms

Megas now have their own viable moves, so that more unique megas like Heracross, Charizard and Mewtwo can have their viable options.

Potential mega evolving candidates can now be selected without their mega stone. For example, if the team has Gengar with Gengarite, Heracross without Heracronite can be added.