From Bulbapedia, the community-driven Pokémon encyclopedia.
Max (Japanese: マサト Masato) is a character in the Pokémon anime. His name (both English and Japanese) and design is based on Max.
He started to comment how energetic a Skitty May had and that only skilled trainers can handle one. The blue-haired Max replied that she already knew that. Nurse Joy told Max to duke it out, making both Maxes confused, as she did not yet know that the two were named Max.
The two started to bicker again but Joy soon broke it up, making blue-haired Max go down to the lake. Later, when May and Max were looking after a wild Surskit, brown-haired Max approaches them and an another fight starts. Ash and Brock approach them, making the brown-haired Max spit another smart-aleck comment at his counterpart and starting another fight.
Brock then says they shall release their Pokémon, and May and Ash agrees. Blue-haired Max says he gets to seem them everyday, and that his father is a Gym Leader, making the other Max impressed.
May shows off Skitty to Treecko and Pikachu. Soon thereafter, Team Rocket jumps from the bushes and surprises everyone. After their mecha explodes, leaving Team Rocket flying in the air, the two Maxes become friends. The brown-haired one intends to train his new friend Surskit hard, and one day become a Pokémon Trainer.