Koji was an arrogant trainer who wanted to capture a Cyndaquil, even told Ash (upon encountering him) not to capture Cyndaquil. Since Ash was persistent, Koji's Sandslash distracted him for a while. Ash managed to capture it, so Koji taunted him to a battle and if he lost, Koji would get Cyndaquil. Despite Cyndaquil did not use any Fire attacks, it won the battle. Koji attempted to catch it with a net, but got burned and left Ash with Cyndaquil.
Koji has a Sandslash, that distracted Ash, then battled his Cyndaquil.