I'v beaten the game and can confirm that you can and probably should both Mega and use a Z move in one battle.
Anyone know if mega fug can also at the same time use a z move?
>>29938741should respawn if you go into the pokecenter and do it right this time.