Bug report for Mega Evolution behavior when fainting (and kinda Revival Blessing).
Currently in Showdown, when a Pokémon Mega Evolves, faints, then is revived by Revival Blessing, they come back in their mega form. This is relevant to National Dex formats; see this replay here.
This behavior...