Liam thanked the Totem before it teleported them. Liam went to the Pokémon Center and handed over his Pokémon to heal them up. Afterward, he swapped the Pokémon he brought with him for the desert back for who they were taking the place of.