Hi.
Im seeing that calling attack() with a poke with no pp left on any movements causes a crash with
The line it shows is
could the bot use Struggle if there are no pp left? or maybe just return false...
Im not sure about the state of this amazing project so im not sure if i should make up for it in my script or do it myself on the bot...
Thanks.
Im seeing that calling attack() with a poke with no pp left on any movements causes a crash with
Error during the script execution: chunk_1:(): attempt to call a nil value
The line it shows is
return attack() or SendUsablePokemon() or SendAnyPokemon()
could the bot use Struggle if there are no pp left? or maybe just return false...
Im not sure about the state of this amazing project so im not sure if i should make up for it in my script or do it myself on the bot...
Thanks.