To finish the story from Luna, Terra, and Sol Versions, once you meet up with Professor Pine and Braydon, and find that Team Planetary is at the Starstreak Mountains as well, the three of you enter the caves and split up. You are then left alone to find your way through the caves, battling Team Planetary Grunts as you go. As you beat them, you learn a little more about Team Planetary’s goals. Right before you get to the deepest part of the cave, you’ll find and battle with Cosmo, this being the third time you fight him. After yo beat him, you can then move on to the next chamber, where you find Orion and Ryusei. Orion has already captured the Legendary Pokémon, and challenges you to a battle. Even though you beat him, he refuses to give up the Pokémon and escapes. At this point Pine and Brayden find you, but it’s too late. Pine and Brayden discuss what Team Planetary might be planning, and then Pine gives the two of you a coupon for a free bike at the Atmos City Bike Store, allowing you to pass the Cycling Road.
As for the episode, in case it wasn’t obvious, one of the big points of this episode and the previous was to give Cosmo some personality and character. Up until now, Cosmo has only been an opponent for Ash, and a follower of Team Planetary for no apparent reason. Now we learn there’s a little more to him. He actually seems to care for his Pokémon, and he honestly does think he’s doing the right thing by working for Team Planetary.