Once you have defeated him, he will thank you for helping him come to terms with what he did, and freeing him from the mire of his sorrow and the part that built the weapon. As he comes to terms with it, his Floette friend suddenly arrives from out of the sky.
Professor Sycamore appears and supposes that Florette was just waiting for AZ to become the man he was before the war.