Do you get any Ev's if you're battling a wild Pokemon then it defeats your Pokemon. Then you switch your Pokemon and then you catch it. After you catch it would it get the EV's from it defeating your first Pokemon during the battle when you catch it, even though you didn't actually gain the EV. Thank you in advance.