Skip to content

FRLG AutoStory: run on the shared story-run start and finish - #382

Merged
dayfine merged 11 commits into
frlg/stage8-rocktunnelfrom
frlg/program-shell
Nov 11, 2026
Merged

dayfine merged 11 commits into
frlg/stage8-rocktunnelfrom
frlg/program-shell

Conversation

@dayfine

@dayfine dayfine commented Nov 11, 2026 •

Copy link
Copy Markdown
Owner

Depends on #293.

FRLG AutoStory now runs on the shared story-run start and finish from #380, like BDSP in #381. The start's save load (normal and verify mode), the reload between attempts, and the end of a run or verify run go through the shared code; FRLG lends its soft reset, the save card's place check against the checkpoint's start map, and the bag reread. Behavior is unchanged apart from the log lines: "[Story] 01.03: loading the save" replaces "Loading the save for 01.03.", and a failure now logs "AutoStory failed: the game stays where it failed." as BDSP does. Tested with the Pokemon::StoryRun suite in the headless runner and a compile of the program; not run on the console.

🤖 Generated with Claude Code

https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss

dayfine and others added 4 commits November 11, 2026 11:41
The start's save load, the reload between attempts and the finish of a
run or verify run go through Pokemon/AutoStory's shell. FRLG lends its
soft reset, the save card's place check and the bag reread; the failure
line is now the same as BDSP's.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
@dayfine dayfine changed the title FRLG AutoStory: run on the shared program shell FRLG AutoStory: run on the shared story-run start and finish Nov 11, 2026
dayfine and others added 7 commits November 11, 2026 13:53
Supplies the shared story run's preflight (read_story_preflight): the
program checks it before its first press (SID Helper's name, the TID
read), and every start, new game and live ones included, now goes
through prepare_story_start, which logs the checkpoint actually
starting. A failed preflight is a setup error with nothing pressed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
@dayfine
dayfine marked this pull request as ready for review November 11, 2026 23:06
@dayfine
dayfine merged commit c30a2d2 into frlg/stage8-rocktunnel Nov 11, 2026
16 of 22 checks passed
@dayfine
dayfine deleted the frlg/program-shell branch November 13, 2026 03:26
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