Pokemon Movie 19: Volcanion to Karakuri no Magiana - MOVIE
Plot Summary: A mysterious force binds Ash to the Mythical Pokémon Volcanion when it falls from the sky. Volcanion can't get away, and Ash is dragged along as it continues on its mission. They arrive in a city of cogs and gears, where a corrupt minister has stolen the ultimate invention: the Artificial Pokémon Magearna, created 500 years ago. The minister plans to use Magearna's mysterious power to take control of the mechanical kingdom.
Other name: Pokemon the Movie XY&Z: Volcanion to Karakuri no Magiana, Pokemon the Movie: Volcanion and the Mechanical Marvel, ポケモン・ザ・ムービーXY＆Z「ボルケニオンと機巧（からくり）のマギアナ」