Skip to content

FRLG AutoStory: stop for Starter RNG at the starter's ball - #179

Closed
dayfine wants to merge 30 commits into
frlg/autostory-sid-helperfrom
frlg/autostory-starter-rng
Closed

dayfine wants to merge 30 commits into
frlg/autostory-sid-helperfrom
frlg/autostory-starter-rng

Conversation

@dayfine

@dayfine dayfine commented Nov 2, 2026 •

Copy link
Copy Markdown
Owner

Depends on #178. Base frlg/autostory-sid-helper (#178); the diff shows only this change.

AutoStory can now stop where upstream's Starter RNG starts: a save south of the lab's table, facing the starter's ball.

  • 00.04 is split at Squirtle's ball. 00.04 "to Squirtle's ball" walks to (9, 5) facing north under the ball at (9, 4) and saves. 00.04b "Squirtle, then the rival's battle" starts from that save.
  • New option "Stop for Starter RNG", off by default. With it on, the run stops after 00.04's save with "Run Starter RNG now".
  • With it off, plan_story_run() joins 00.04 and 00.04b back into one 00.04, same id, title, steps and single save as before, so the run doesn't change. An end of 00.04 still goes through the rival's battle.
  • Still Squirtle only. Choosing the starter is a later PR, together with the move-set work.
  • After Starter RNG, the user saves right after the rival's battle without moving, and AutoStory picks up at 00.05 (the parcel). Starter RNG reads stats in that battle, so I haven't confirmed where it leaves the game.
  • Dropdown indices: 00.04b is index 5, and 00.05 to 00.11 move down one more (00.11 is now 12).

Testing: FRLG unit tests. New run-plan scenarios cover the stop, the join and a start at 00.04b, plus a test that the joined 00.04 matches the old row. The chain test still passes 00.04's end to 00.04b's start. The full app builds locally (macOS, at #179's tip). I didn't run unit tests locally because test mode can flip the lab app's panel. Ubuntu CI is dispatched: https://github.com/dayfine/Arduino-Source/actions/runs/41528884397

Console checks: nobody has seen 00.04's save under the ball, Starter RNG starting from it, or AutoStory resuming at 00.05 from a save the user makes after the rival's battle.

🤖 Generated with Claude Code

https://claude.ai/code/session_01AKYzhrMnPK61XHWEch4a6E

00.04 is split at Squirtle's ball: 00.04 walks to (9, 5) facing the ball,
south of the table, and saves; 00.04b takes Squirtle and fights the rival
from that save. A "Stop for Starter RNG" option (off by default) ends the
run after 00.04's save with what to do next. With it off, plan_story_run()
joins the two rows back into the one 00.04 the story had, so the run is
the same as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AKYzhrMnPK61XHWEch4a6E
dayfine added a commit that referenced this pull request Nov 2, 2026
… CI per tip

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AKYzhrMnPK61XHWEch4a6E
dayfine and others added 21 commits November 2, 2026 15:53
# Conflicts:
#	SerialPrograms/Source/VideoGames/PokemonFRLG/Programs/AutoStory/PokemonFRLG_AutoStoryTable.cpp
#	SerialPrograms/Source/VideoGames/PokemonFRLG/Programs/AutoStory/PokemonFRLG_AutoStoryTable.h
# Conflicts:
#	SerialPrograms/Source/VideoGames/PokemonFRLG/Programs/AutoStory/PokemonFRLG_AutoStory_Tests.cpp
…tostory-starter-rng

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AKYzhrMnPK61XHWEch4a6E
…ter RUN in a dark cave) into frlg/autostory-starter-rng
…t never showed) into frlg/autostory-starter-rng
…mpts out of step) into frlg/autostory-starter-rng
dayfine and others added 4 commits November 3, 2026 06:10
… frlg/autostory-starter-rng

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AKYzhrMnPK61XHWEch4a6E
…n't name) into frlg/autostory-starter-rng

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

dayfine commented Nov 3, 2026

Copy link
Copy Markdown
Owner Author

Superseded by #214 (FRLG stack consolidated into stage PRs; will be resplit for upstream).

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