Ehhh, I kinda have to agree with Jimera0 a bit here. The anime is often seen as childish, yes, but you cannot blame it for attempting to give the whole franchise a bad reputation.
True, the anime tends to be directed towards children with the sort of goofy stuff that happens on there, but in reality, all the anime surmounts to is an aside that can be used by the franchise to help boost sales of the games, imo. A gimmick with the intent of luring kids into playing the series in the hope that they will become attached & start buying future games, since I know & you all know that the Pokémon games are easy to become addicted to, & it works. The anime pretty much always has been & always will be a tool to increase exposure of the franchise, & if the games are continuing to pull in new players as well as potentially keeping veterans like me around, why stop making episodes for the anime?
Then again, haters are going to hate, no matter what. Just because that teenager from High School made fun of you for playing Pokémon, because that person thought it was a children's game because of the anime or some other abstract idea, does not mean that Pokémon is a children's game, period — that is their opinion, not yours. I personally think that Pokémon is a game for people of all ages. Young Children for the story side. Teenagers & Adults for the thrills & the competitive side. The anime has, well should have zero influence on whether the franchise is "childish" or not — People outside of the target audience will play the game regardless.
Basically, take what people think about Pokémon with a grain of salt. Do not others influence what you think of the franchise. The anime, while directed at kids, has been a brilliant marketing tool for the franchise, & without the exposure it brought to the series, Pokémon will not be where it is today. We should be thankful for what the anime has done, not shun it because it is aimed at kids.