Skip to content

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.

License

Notifications You must be signed in to change notification settings

40Cakes/pokebot-gen3

Repository files navigation

PokéBot Gen3 (libmgba)

Wiki Python 3.12 Code Formatting

Discord YouTube

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.

Initially created to complete a Prof. Oak and Living ✨Shiny✨ Dex Challenge in Pokémon Emerald, a 24/7 livestream of the challenge can be found ongoing here.

🔴24/7✨Shiny✨Hunting Bot

❓ Getting Started

Visit the wiki for information:

✨ Preamble

You are welcome to use or stream the bot in any way you want, including streaming your own 24/7 Prof. Oak challenge streams.

The intent of this bot is not to cheat for shinies or complete the game as fast as possible, but instead to transform generation 3 Pokémon games into somewhat of an idle game, stacking up millions of encounters searching for that one encounter, or completing an absurd challenge.

The bot is frame perfect and can technically cheat by reading data from any point in memory and manipulating RNG. By default, it will attempt to perform actions as if a human were playing to make gameplay as representative as possible, some examples:

  • Starter Pokémon are generated just 1 frame after confirming the starter selection, the bot will wait until the battle begins, and the starter Pokémon sprite is visible before soft resetting
  • It's possible to peek inside un-hatched eggs to view stats and shininess as soon as they're received from the daycare, the bot will wait until the eggs are fully hatched before checking and logging
  • Feebas tile locations could be instantly located by reading memory, instead, the bot will attempt to locate the tiles by searching each tile individually

😎 Showcase

Main interface Load save state Debug mode
image image image
Shiny encounter GIFs
image
Discord shiny notifications Discord phase stats Discord milestones
image image image
Automatically saves PKHeX .pk3 file HTTP API
image image

❤ Attributions

Core functionality:

Other awesome PokéBot projects:

Decompiled symbol tables and other various data from the following projects:

Test save states and bot profiles: