Complex sentence: The team then managed to defeat Giovanni and Deoxys and other companions once and for all, but, along with the rest of his team, got turned into stone doing so, but luckily his Pikachu hadn't been with him when he was petrified.
Split into simpler sentences: The team then managed to defeat Giovanni and Deoxys and other companions once and for all, but, along with the rest of his team, was turned into stone doing so. Luckily his Pikachu hadn't been with him when he was petrified.