Wait, how does that work? xD sorry if I'm missing the obvious, I've yet to go to sleep :P
One other question: if I have a Pokemon with a hidden ability and its evolution has a different hidden ability, and my Pokemon evolves, is it guaranteed to get the new hidden ability?