At the beginning of the Pokemon XY episode, 43 Ash is reached at Shalour Gym for his next gym battle.
Corian chooses his first pokemon Mienfoo and it is a fighting type pokemon, And Ash chooses his first pokemon Hawlucha which is also a fighting type pokemon.
Hawlucha defeated Mienfoo.
Corina chooses his second pokemon Machoke and Ash chooses Fletchinder.
Flechinder defeated Machoke.
Corina chooses Lucario as his last pokemon and Ash choose Flechinder and Lucario defeated Fletchinder.
Ash chooses Hawlucha as his second pokemon and Hawlucha is also defeated by Lucario.
Ash chooses Pikachu as the last pokemon and Ash defeated Corina and win Rumble Batch.