i attacked with ember, his hp fell to 0, my pokemon leveled up and the screen to learn the new attack appeared, but he didn't faint, he continued to fight and launched horn attack, the final hp of my combusken fell to 0, no special status or anything else.
19 000$ isn't abig sum, no problem, i just wanted to signal it, i don't knew if it happened to anyone else.
i fought him a second time and achieved a victory without any problem or bug. so i don't know where the problem came from.
thanks for your work