It seems like there is no check for whether a trainer is at their max number of pokemon. I encountered this problem, and trainer.encounterAndCatch was unable to determine a "bestBall" or "altBall." The encounter itself clearly states that the trainer's pokemon list is full, but the program throws the, "out of usable balls," exception.
It seems like there is no check for whether a trainer is at their max number of pokemon. I encountered this problem, and trainer.encounterAndCatch was unable to determine a "bestBall" or "altBall." The encounter itself clearly states that the trainer's pokemon list is full, but the program throws the, "out of usable balls," exception.