Skip to content

FRLG RNG programs: digit OCR tweaks - #1325

Merged
Mysticial merged 8 commits into
PokemonAutomation:mainfrom
theastrogoth:frlg-levels
Jul 27, 2026
Merged

FRLG RNG programs: digit OCR tweaks#1325
Mysticial merged 8 commits into
PokemonAutomation:mainfrom
theastrogoth:frlg-levels

Conversation

@theastrogoth

Copy link
Copy Markdown
Contributor

A few changes to improve level OCR:

  • increase the minimum bounding box size accepted for the digit reader
  • add a way to recover from a misread level for Wild RNG
  • instead of reading the level, use fixed levels for gift/static Pokemon
  • always treat roamer IVs as A/B/0/0/0/0 to avoid possible misreads for the last 4 stats

@theastrogoth
theastrogoth marked this pull request as draft July 16, 2026 15:53
@theastrogoth theastrogoth reopened this Jul 24, 2026
@theastrogoth
theastrogoth marked this pull request as ready for review July 27, 2026 02:42
@Mysticial
Mysticial merged commit b820fff into PokemonAutomation:main Jul 27, 2026
3 of 7 checks passed
Developer-Butters pushed a commit to Developer-Butters/Arduino-Source that referenced this pull request Jul 28, 2026
* use known level when possible instead of reading it

* add validate_level for WildRNG

* increase min bounding box size for digits

* handle invalid stats in WildRNG

* fix most roaming IVs to zero

* oops, flip bool
@theastrogoth
theastrogoth deleted the frlg-levels branch August 13, 2026 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants