Since editing with PkHex turns it into a .pk6 and this tools accepts the format as well I thought it was all ok. I honestly have no idea if it's possible to convert a pk6 to a pkx tho.No worries, it's easy to mix that up. I believe the file format needed to be recognized by the game is .pkx (https://projectpokemon.org/forums/showthread.php?33024-Pkx-The-New-Pokemon-Format-For-Gen-6)