yeah it was mentioned before how the last update that had come out for x/y before oras was even released fixed the issue with people using perma-megas in online battles. still fun to have them.
Additionally, I used the Diancie Mega code, used her in a wild pokemon battle, put her back in a box...