Pokemon XY / ORAS multiple mega

Anyone know how to unlock the limiter for mega evolving during battle? or hacks that allows multiple megas in battle. I recently knew that you really can’t attain permanent mega unless you put it in your PC storage which is useless cuz it returns to it’s previous form after a battle.