Repository navigation
Conversation
Adds a "Stop for Starter RNG" option (off by default) to BDSPAutoStory. When on, plan_story_run() stops after 00.01 saves at the Verity Lakefront (17, 14) facing north, where 00.02 and Starter RNG (PokemonAutomation#1366, Start point: Verity Lakefront) start. With it off, the table and run are unchanged.
Port the remaining Starter RNG files from PokemonAutomation#1366 (by theastrogoth) onto the merged BDSP RNG infrastructure: - BdspRngFilterRow / BdspRngFilterTable / BdspRngFilterSnapshot - RngAim, RngCalibration, RngExecution, RngTargets, RngTimeline, TargetSelection - StarterNavigation, SummaryNavigation, StarterRng Adapt to the upstreamed BlinkRecovery, BlinkScenes, AdvanceClock, and SingleSwitchProgramDescriptor APIs, and register StarterRng in PokemonBDSP_Panels.
Extract the Starter RNG attempt and reset loop out of StarterRng::program() into PokemonBDSP_StarterRngAttempts (run_starter_rng_attempts / run_starter_rng_attempt / resolve_starter_rng_step), parameterized by StarterRngSettings and StarterRngAttemptIO and returning StarterRngRunResult. Add finish_battle_on_shiny and close_summary_after_read options (with close_starter_summary in SummaryNavigation) so AutoStory can continue directly from Lake Verity or Verity Lakefront, and add unit tests for per-starter tables, bedroom skip buffer/landing math, aim calibration, and attempt loop outcome transitions.
Adds "Run Starter RNG in AutoStory" (off by default), "Starter RNG Maximum Resets", and "Starter RNG Stop Conditions" to BDSPAutoStory. When enabled, plan_story_run() replaces 00.02's Lake Verity steps (after 00.02's Verity Lakefront start save) with the starter_rng game action, which runs run_starter_rng_attempts() from VerityLakefront (17, 14) through the Starly battle and Rowan's scene, closes the menu on VerityLakefront (17, 14..15), and continues into 00.03.
…rter-rng-callable
…ostory-starter-rng-handoff
…-rng-callable' into bdsp/autostory-starter-rng
…ity Lakefront card
…doff text; no handoff in verify mode
…tandalone uses it
…bdsp/autostory-starter-rng
…n failure, unsettled shiny stops, program split
…and shiny settle, constants in StoryTable.cpp) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
Pokemon_StoryRngHandoff.h holds what every game's RNG handoff shares: the OFF/STOP/RUN mode, the result an RNG program's call ends in, and run_rng_handoff(), which logs a success and throws on a failure so no row retry reruns the reset loop. BDSP's Starter RNG hook now runs through it. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
Folded leaf PR #439; tree equals the leaf tip. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
…de; its stop reports through the shared report StoryHandoffs held two bools whose combination the plan decoded; it holds the mode of the options now, as FRLG's program derives it. The stop's log line, overlay line and notification text come from Pokemon::report_rng_handoff_stop. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AKYzhrMnPK61XHWEch4a6E
Brings Starter RNG (#438) and Run Starter RNG in 00.02 (#439) onto the story engine. The story-engine structure wins: StoryEnv (StoryCheckpoint.h) gains run_starter_rng, the starter_rng event takes StoryEnv&, the program runs ConsoleStory over plan_story_run()'s rows, and the Stop for Starter RNG handoff save carries its card map in SAVES_IN_ARG. The old StoryExecutor.h stays deleted.
This was referenced Nov 15, 2026
Conflict in PokemonBDSP_AutoStory_Walk_Tests.cpp includes: drop the duplicate Utils/Walk.h include, as #375 resolved it.
dayfine
added a commit
that referenced
this pull request
Nov 17, 2026
Conflicts, both sides kept: SimWorldKnobs gets both still_taps and centers; the 00.01 still-taps failure case moves to the named FailureCase form.
This was referenced Nov 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Depends on #549 (base
bdsp/seam5-adopt); folds in #438 (Starter RNG port) and #437 (Lakefront handoff), so the diff shows those plus the engine hook. #581, #603 and #605 stack on it.Starter RNG (#438) and the option to run it at 00.02's starter pick (#439) were built on bdsp/autostory-v4, so they could not run on the story-engine stack. This merges bdsp/starter-rng-callable into bdsp/story-engine and ports the hook onto the engine: StoryEnv gets run_starter_rng, the starter_rng event takes StoryEnv, the program runs ConsoleStory over plan_story_run()'s rows, and the Stop for Starter RNG save puts its card map in the saves_in arg. Since the RNG branch sits on autostory-v4, the merge also brings that stack's view-shift walk check and the MenuDetector cursor-glow fix. The changed files compile (syntax-checked locally); the BDSP AutoStory and StarterRng suites run on Fork Draft CI.