40Cakes / pokebot-gen3

PokéBot Gen3 is a shiny hunting bot, written in Python that runs libmgba + mGBA Python bindings under the hood. Pokémon Ruby, Sapphire, Emerald, FireRed and LeafGreen are supported.
https://www.youtube.com/@40_Cakes/streams
GNU General Public License v3.0
176 stars 53 forks source link

Battle - Switching Pokemon error in Ruby #208

Open johnnieb333 opened 7 months ago

johnnieb333 commented 7 months ago

when the bot goes to switch pokemon in ruby (all I testes so far ) the bot goes to manual and does not switch the pokemon , all mons are high levels battle.yml is set up to rotate and yml is in my profile image

johnnieb333 commented 7 months ago

tested sapphire with no issues then went back to test ruby again and it worked , then tested ruby again and it stopped again it is not consistent

pekempy commented 7 months ago

More information from the reporter: climb026 on discord - if you need more information

It tries to switch out and gets stuck on the party menu. I've only used the bot on FR and Ruby. Has been working fine on FR. I've attached a save where Whismur has run out of normal moves. It keeps battling with astonish where possible, but tries to switch out of normal types. That's where it gets stuck. Run spin mode and the bug should appear at the first zigzagoon encounter. It seems to switch out fine if the battling pokemon is low on HP though. (scratch that, it can get stuck there too) I have pickup enabled, but no pickup pokemon in the party. I have also noticed it gets stuck trying to collect items from pickup mons. If it helps I can try to reproduce that behaviour and share.

image image

example save.zip