Can somebody help?

I am playing randomizer and just caught a rayquaza, can somebody tell me when it learns dragon acent so it can go mega i just beat 7th gym and it is level 37

U can go check it yourself in Google, type in rayquaza , go to its Gen 6 move pool and ya done. If it doesn’t learn it, u can teach it to it in the Alpha Temple (which is in post game)

Sorry for the year necropost, but just in case someone finds this: it doesn’t learn it off level up, therefore you need to learn it from the Alpha Temple.