Skip to content

FRLG RNG: Game Settings option to skip the program start checks - #484

Closed
dayfine wants to merge 2 commits into
upstream/frlg-free-party-slotsfrom
frlg/rng-start-checks-toggle
Closed

dayfine wants to merge 2 commits into
upstream/frlg-free-party-slotsfrom
frlg/rng-start-checks-toggle

Conversation

@dayfine

@dayfine dayfine commented Nov 14, 2026

Copy link
Copy Markdown
Owner

Base: upstream/frlg-free-party-slots (PokemonAutomation#1881); the diff shows only this change.

Answers the review on PokemonAutomation#1881: restarting an RNG program after fixing its settings should not have to go through the start checks every time. This adds an "RNG Settings" section to the FRLG Game Settings, holding the existing Handle Online License Check option and a new "Run Start Checks" checkbox (default on). When it is off, run_precheck() skips both the black border check and the free party slots check for every RNG program. Compiled the touched files locally; Fork Draft CI runs the build and unit tests.

🤖 Generated with Claude Code

https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss

Adds an "RNG Settings" section to the FRLG Game Settings with the online
license check option and a new "Run Start Checks" checkbox (default on).
When it is off, run_precheck() skips the black border check and the free
party slots check, so a program restarted after a settings fix starts
right away.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
env.console.log("Start checks are off in the FRLG Game Settings. Skipping them.");
return;
}
home_black_border_check(env.console, context);

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

let's always run this

)
, RUN_RNG_START_CHECKS(
"<b>Run Start Checks:</b><br>"
"Before an RNG program starts, check that the game has no black border and that your party has enough free slots. "

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

run pre-program validation checks, e.g. that your party has enough free slots

…arty check

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
@dayfine

dayfine commented Nov 14, 2026

Copy link
Copy Markdown
Owner Author

Squashed into upstream/frlg-free-party-slots (PokemonAutomation#1881) as eb27dfc.

@dayfine dayfine closed this Nov 14, 2026
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