Make sure you followed all the instructions and made the necessary changes in PokeBattle_Scene, found in the "Additional Installations" section in the instructions. If you did, and didn't make any mistakes, then there must be some other scripts you're using that conflict with this.