Skip to content

Another round of FRLG RNG updates#1251

Merged
Mysticial merged 4 commits into
PokemonAutomation:mainfrom
theastrogoth:frlg-rng-logging
May 20, 2026
Merged

Another round of FRLG RNG updates#1251
Mysticial merged 4 commits into
PokemonAutomation:mainfrom
theastrogoth:frlg-rng-logging

Conversation

@theastrogoth
Copy link
Copy Markdown
Contributor

This makes a few changes based on some feedback from testers:

  • adds a field that displays the stats of the user's RNG target to help catch when there are mistakes in the inputs
  • adds additional fields to display read species and level to make OCR issues more obvious
  • more details about user settings are logged to make debugging easier
  • tweaks the layout of some of the RNG program inputs to have a more coherent ordering
  • change some errors to UserSetupError where appropriate

... and also addresses a bug when trying to do wild RNG in Safari Zone West (reported by Sheep Punter)

return "";
case AdvGender::Female:
return "Female";
return "";
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It'd generally not a good idea to put non-ascii characters in source files. Can you use an escape character? You can look in Pokemon_Strings.cpp.

modified_ingame_delay = timings.ingame_delay - 51430;
walk_to_safarizonewest(context);
use_sweet_scent(context, modified_ingame_delay, true);
return;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol

@Mysticial Mysticial merged commit 1f1385d into PokemonAutomation:main May 20, 2026
7 checks passed
@theastrogoth theastrogoth deleted the frlg-rng-logging branch May 20, 2026 13:06
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