The Path to the Pokemon League - S1-E8
Continuity mistake: When Ash is surprised by what he sees in A.J.'s Gym, the marks on his cheeks go from being present to being absent and then back to present. (00:08:17)
The Path to the Pokemon League - S1-E8
Continuity mistake: When A.J. says, "Of course, the recipe is secret," his right arm is raised while his left hand is at his side, but in the next shot, his right arm is at his side while his left hand is raised. Also, some of the jars behind him are 75 percent filled and have Pokémon on their labels, but in the next shot, they are filled halfway and do not have Pokémon on their labels. (00:10:45)
The Path to the Pokemon League - S1-E8
Revealing mistake: When A.J. and his Sandshrew walk into a tent, A.J. and his whip clip through the tent. (00:07:56)
The Path to the Pokemon League - S1-E8
Continuity mistake: When Ash and his friends are standing in front of A.J.'s Gym, Ash's white sleeves turn blue. (00:02:45)
The Path to the Pokemon League - S1-E8
Other mistake: When A.J. is grateful when Sandshrew returns, his Butterfree's antennae are missing occasionally. (00:15:24)
The Path to the Pokemon League - S1-E8
Continuity mistake: When Team Rocket is sneaking around the Gym while inside a ball, Meowth's cream forepaws turn orange. (00:12:44)
The Path to the Pokemon League - S1-E8
Continuity mistake: When A.J. removes his bag, the straps on Ash's are green, but when Butterfree picks up A.J.'s, the straps on Ash's have changed to black. (00:03:27)
Answer: He is a good guy but just found himself in a bad situation when he worked for Lysander. He didn't want him to harm Ash and his Pokémon when he was trying to get the special bond between Ash and his Greninja to work. He does leave Lysander and go back to being a good person.