Repository navigation
BDSP AutoStory: leave the game where it failed - #378
Merged
Merged
Conversation
A failed run went to HOME and closed the game, though the segment log says "the game stays where it failed". Keep the game open so the failure can be seen and resumed; the next run reloads the checkpoint's save anyway. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
The start at a checkpoint with a save now resets from HOME to load it first, as every retry does, so a run never walks from wherever the game was left (console B, 2026-11-11: 00.04b walked from 00.04d's position). Reload, failure and finish lines come from Pokemon/AutoStory's shell. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
Supplies the shared story run's preflight (read_story_preflight) and a place check for the loaded save (the save card must name the start row's saves_in). Removes "Just loaded the start's save": a run from a save always loads it and the first row's start save is skipped by the shared rule (only a new game saves before it starts). A failed preflight is a setup error with nothing pressed. save_game() no longer saves blind when the save screen can't be confirmed; it stops with a screenshot (console B, 2026-11-11 13:32: X/R/ZL pressed on HOME). Co-Authored-By: Claude Opus 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_013VUubhHeYSMGSSDXZkKZss
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
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 #128 (base bdsp/autostory-v4); also carries #381 (bdsp/program-shell), merged in with the user's OK.
A failed AutoStory run went to HOME and closed the game, even though the segment log says the game stays where it failed. On console B that hid 00.05's failure in Jubilife. This removes the close: a failure now only logs and throws, and the game stays open to look at and resume from. It also moves BDSP AutoStory onto the shared StoryRun program shell from #381. Compile-checked by CI only.
🤖 Generated with Claude Code
https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss