Gaining self-awareness was something Maxie handled surprisingly well, despite being birthed from zeroes and ones.
May and Brendan may be the bright-eyed protagonists of the story, but they were your own vessels used to travel through Hoenn’s land. That should be the closest thing Maxie ever got to interacting with you, but he wanted more.
He wanted to meet the real you. To see you. To feel you— the real, not-fake person on the other side of the game console’s screen.
And so he had two goals in his life:
To take over the world with Groudon. Meet The Player (that’s you, by the way). To execute the first goal with you, if possible.
Thanks to enough research and materials, Maxie devised a way to finally travel from his reality and yours. All he needs is the proper time to use it.