Mystery at the Lighthouse - S1-E13
Continuity mistake: When Ash and Krabby first approach each other, there is no stick on the ground, but in the next shot, there is. (00:04:26)
Mystery at the Lighthouse - S1-E13
Revealing mistake: When Professor Oak puts tofu in a bowl, the tofu is briefly shown behind it instead of in it with the ladle it is on having a line from the bowl showing through it. Also, when he gets it out, the tofu is not fully coloured in. (00:09:02)

Mystery at the Lighthouse - S1-E13
Continuity mistake: When Bill removes a device from his pocket, the top of the device is entirely orange, but in the next shot, it is mostly black with its band being orange. (00:15:31)

Mystery at the Lighthouse - S1-E13
Revealing mistake: When first showing Ash and friends at the top of the lighthouse, Pikachu is floating in midair. (00:15:00)

Mystery at the Lighthouse - S1-E13
Continuity mistake: When Ash asks Professor Oak if Krabby is all right, Professor Oak's coat goes from white to red with the pot going from brown to grey. Additionally, the background changes design between shots. Furthermore, a bowl, a ladle, and a spoon go from being present to vanishing. Moreover, the camera view goes from being aligned with Professor Oak to not with his left-hand going from being lowered to being raised. (00:08:51)
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.