po-devs/pokemon-online — pull request #918 by Fuzzysqurl (2014-01-14 03:56:10+00:00)
Title: Mega Stone Behavior Fix

Fixes the following:
-Sticky Hold has a message that should display when stuff fails
-Mega Evolving shouldn't be prevented by Embargo, etc.
-Sticky Hold should block Berry loss on Bug Bite, etc.
-Fling should not fling your correct Mega Stone
-Knock Off should be boosted against Sticky hold, but not make them lose item
-Trick should fail if either Pokemon is going to obtain their correct stone
-Bestow should fail if it gives the opponent their correct stone
-Covet, etc. should fail if it grants the attacker their correct stone

Anything that involves giving, losing, or gaining the wrong stone should work as if it was any other standard item.