it's because the compiling didn't save and its trying to read the custom pokemon's data in the PBS file. im not sure how to compile the data upon startup either and compiling in the debug menu doesnt work as it doesnt save its changes when you exit out of the game