Open M1L4 opened 7 years ago
getActivePokemonNumber -> getRemainingPowerPoints -> if no usable moves -> sendUsablePokemon (to finish fight) -> then pc. ? i believe this should help with this issue. This issue is present in questing and other universal scripts.
lol wasn't expecting someone commenting my private scripts :D It's just a reminder to fix this issue, when I have time.
Regarding the problem, it is most likely an interaction of the classes Survivor and Leveler. All I have to do is changing a < to a <= or the other way around.
How exactly did you get notice of this?
[Problem] in this example gloom and kadabra switch in and endless loop:
Charizard 90 KO Kadabra 96 no pp (usable) Snorlax 96 pp Magneton 96 pp Gloom 96 no pp Wigglytuff 97 pp