Skip to content

FRLG RngHelper fixes#1178

Merged
Mysticial merged 4 commits intoPokemonAutomation:mainfrom
theastrogoth:tag/blind-rng-fixes
Apr 15, 2026
Merged

FRLG RngHelper fixes#1178
Mysticial merged 4 commits intoPokemonAutomation:mainfrom
theastrogoth:tag/blind-rng-fixes

Conversation

@theastrogoth
Copy link
Copy Markdown
Contributor

This changes "hard" resets so that they are no longer performed blind. Yet to be tested with certain failure conditions (like update popups)

Also, this adds a dropdown for selecting different buttons to press on the title screen, since the ten-lines tool now includes seeds from the Start button as well as A



void check_timings(SingleSwitchProgramEnvironment& env, int64_t FIXED_SEED_OFFSET, const uint64_t& CONTINUE_SCREEN_DELAY, const uint64_t& INGAME_DELAY, bool SAFARI_ZONE);
void perform_blind_sequence(ProControllerContext& context, int64_t FIXED_SEED_OFFSET, const uint64_t& CONTINUE_SCREEN_DELAY, const uint64_t& TEACHY_DELAY, const uint64_t& INGAME_DELAY, bool SAFARI_ZONE);
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.

Since these lines are so long, can you split them?

void perform_blind_sequence(
    ProControllerContext& context,
    int64_t FIXED_SEED_OFFSET,
    const uint64_t& CONTINUE_SCREEN_DELAY,
    const uint64_t& TEACHY_DELAY,
    const uint64_t& INGAME_DELAY,
    bool SAFARI_ZONE
);

@Mysticial
Copy link
Copy Markdown
Collaborator

Merging this as-is just to get it out. My comments can be applied to the next PR on these files. (since this won't be the last, lol)

@Mysticial Mysticial merged commit 1647984 into PokemonAutomation:main Apr 15, 2026
7 checks passed
@theastrogoth theastrogoth deleted the tag/blind-rng-fixes branch April 15, 2026 13:55
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