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

Febas new profile fix #343

Closed Terasol closed 1 month ago

Terasol commented 1 month ago

Description

This fixes the Feebas mode throwing an error when being the first mode run in a Profile.

Changes

modules/stats.py -> added a new function to get total encounters get_total_encounters() that can catch when a there is no stats data in the profile

Checklist