when earning exp, my pikchu does not gain any even after ko'ing an enemy by himself, it syas and shows that marshtomps bar is filling instaed.
The first pokemon in play seems to get all the xp that battle, even if you switch your own pokemon before the oponent switches his.