M1L4 / QuestingDebug

1 stars 4 forks source link

branch: bikeQuest | seafoam island nurse loop, when one pkm can't level up #16

Closed M1L4 closed 7 years ago

M1L4 commented 7 years ago

from @BellBot123: the script run alright but when it train at seafoarm to level 60 or maybe lower, some time 1 of ur poke can't reach to level 60because it keep dying, the bot will repeatly use the heal nurse all the time which it will make the bot run out of money then get an error.


I splitted the original issue. The other part is #3 branch: bikeQuest | Gym 6

M1L4 commented 7 years ago
  1. I checked the code and couldn't find anything specifc explaining this behaviour.
  2. I fixed something closely related, the original tested for a getUsablePokemonCount == 1. If last pkm had no pp, it got unusable and getUsablePokemonCount returned 0. That has been now fixed.

I doubt 2. could explain the behaviour mentioned, but on the other hand it is one of the only spots to modify and obtain that behaviour.

Pls verify and reopen if not :)