Skip to content

FRLG AutoStory stage 1c: the story program to Brock - #352

Draft
dayfine wants to merge 11 commits into
frlg/stage1-battlesfrom
frlg/stage1-program
Draft

dayfine wants to merge 11 commits into
frlg/stage1-battlesfrom
frlg/stage1-program

Conversation

@dayfine

@dayfine dayfine commented Nov 10, 2026

Copy link
Copy Markdown
Owner

Depends on #351

Third part of splitting #213: the FRLG AutoStory program itself, from a new game to the Boulder Badge, run through the shared story table (#122). It brings the checkpoint plans (StoryData), FRLG's story actions and step interrupts, the events, the console start check with its saved start frames, the checkpoint export, the program and its options, and their tests; battle steps in the plans now name their trainer and foes. Routes walk with the plain walker here, and #213 adds the recovery walk on top. Tested with the FRLG and Pokemon:: unit suites locally (all non-image tests pass, including the whole-story run against the fake game) and the code-health gate.

🤖 Generated with Claude Code

https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss

The AutoStory program from a new game to the Boulder Badge, copied from
#213's tip: the checkpoint table and its plans (StoryData), FRLG's story
actions and step interrupts, the events, the start check with its frames,
the checkpoint export, the program and its options, and their tests. Routes
walk with the plain walker here; the recovery walk comes on top in #213.
The check that every battle's plan names its trainer and foes moves here
from the battle-data tests, as it reads the story table.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
dayfine added a commit that referenced this pull request Nov 10, 2026
#213 now sits on #352 and keeps only the recovery walk: routes and legs walk
with walk_overworld_route_with_recovery() instead of the plain walker. The
story-trainer check takes #352's place in the AutoStory tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
dayfine and others added 2 commits November 10, 2026 23:54
…writer

Step, interrupt and segment calls take the step or range first and RunState
last; starts and pose_after are DeclaredPose, read through grid_pose_of().
The checkpoint export keeps FRLG's native fields only, now that the core
no longer writes story JSON.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
dayfine and others added 7 commits November 11, 2026 21:43
Conflict in cpp-ci-serial-programs-base.yml: the configure line keeps main's -DPA_SDL=ON and this branch's -DPA_FRLG_STORY_EXPORT=ON.

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
autostory/engine moved the screen events from Pokemon/AutoStory to CommonTools/ScreenEvents and SwitchHomeObserver to NintendoSwitch/Inference; follow the move.

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
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
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