Skip to content

FRLG: share the Trainer Card navigation and TID read - #185

Draft
dayfine wants to merge 3 commits into
mainfrom
frlg/trainer-card
Draft

dayfine wants to merge 3 commits into
mainfrom
frlg/trainer-card

Conversation

@dayfine

@dayfine dayfine commented Nov 3, 2026

Copy link
Copy Markdown
Owner

SID Helper's Trainer Card navigation and TID read move to a shared Programs/PokemonFRLG_TrainerCard.h, so other programs can read the TID too.

  • navigate_to_trainer_card() and read_trainer_card_tid() (plus try_read_trainer_card_tid()) take a console instead of SID Helper's environment; only the error text changes (it names the function, not SidHelper()).
  • TrainerIdReader gains try_read_tid(), which returns nothing when the digits can't be read or are out of range instead of a wrapped-around number. read_tid() behaves as before.
  • Split out of FRLG AutoStory: plan Starter RNG attempts from SID Helper's candidates #182 unchanged.

Testing

  • Syntax-checked each changed .cpp against main (with Windows Clang's missing-field warning on); code health 0 failures.
  • Not run on hardware.

🤖 Generated with Claude Code

https://claude.ai/code/session_01AKYzhrMnPK61XHWEch4a6E

Split out of #182 unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AKYzhrMnPK61XHWEch4a6E
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AKYzhrMnPK61XHWEch4a6E
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AKYzhrMnPK61XHWEch4a6E
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.

1 participant