I tweaked a bit from the [Max/Infinite Mega Energy] cheat to suit more my playstyle. Maybe others also interested here.
As soon as I press R the gauge will be filled (without attack needed). And when in battle I switch my Mega out I hated that I switched out the Mega Pokemon and could not Mega the next Pokemon so I decdided that the first DPadUp Press is to transform back the Mega to the normal form and the next DPadUp will switch it out, so that I can Mega evolve the next one and do not have to rely on the gauge to empty before or that my Mega is defeated etc.
I have to dig around if all is working and Credits to
@OblivionReign for her basis cheat! Thx a lot.
And yes... No distinction between Enemy trainer and you so you UnMega also the opponent Mega by switching out with DPad Up. But when you shortly after press R to fill your gauge again the opponent Poke is also filling and the enemy trainer is another time mega evolve his Pokemon, so another time the cutscene (but maybe more epicness in the fights therefore^^)...
[Mega Energy (R - Fill Gauge, DPadUp - UnMega)]
040A0000 002E7798 14B37EAF
80000080
040A0000 002E7798 14B37EAE
20000000
80002000
040A0000 002E7798 14B37EAE
20000000
040A0000 02FC7250 1C000061
040A0000 02FC7254 BD01AA61
040A0000 02FC7258 174C8151
040A0000 02FC725C 42C80000
80002000
040A0000 02FC725C 00000000
20000000
04000000 00245184 BD41AE61
80000080
04000000 00245184 BD41AE61
04000000 00245184 14B60837
04000000 02FC7260 BD41AE61
04000000 02FC7264 1E204020
04000000 02FC7268 BD01AA60
04000000 02FC726C 1749F7C7
20000000