Ok , it's quite complicated :
When a pkm dies in a battle ,and should lvl up if the ennemy's pkm dies : If this pkm learn a new move with the supposed lvl up, he'll learn it without leveling !
Exemple: Pikachu lvl5 , 99% of exp bar. Faint against a Diglet lvl 20. Squirtle just destroy this Diglet. Pikachu doesn't lvlup , but he learn the move he should learn lvl6 ! He's still at 99% exp bar.
Sorry for bad English , good luck ! :Frown: :thanks: