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
147 stars 47 forks source link

Correctly detect if a Pokemon has its species alternative ability #320

Closed hanzi closed 2 months ago

hanzi commented 2 months ago

Description

If a Pokemon's species could have different abilities, the Pokemon helper class did the check whether the second ability should be used incorrectly.

So instead of checking the bit that indicates the second ability being used, it checked a bit related to the Speed IV.

Notes

image

Fixes #313

Checklist