Skip to content

FRLG AutoStory: 00.11 Route 3's trainers, 00.12 to the Magikarp salesman - #191

Closed
dayfine wants to merge 24 commits into
frlg/maps-route3-route4from
frlg/autostory-route3
Closed

dayfine wants to merge 24 commits into
frlg/maps-route3-route4from
frlg/autostory-route3

Conversation

@dayfine

@dayfine dayfine commented Nov 3, 2026

Copy link
Copy Markdown
Owner

Depends on #190

Replaces the old 00.11 test run with two story checkpoints: Route 3's trainers, then on to the Magikarp salesman in Route 4's Pokemon Center.

  • 00.10 now ends below Pewter's Pokemon Center door (17, 26), facing south, where the by-hand walk stopped (its last route walks; the shoes rule starts after 00.10).
  • 00.11 heals in Pewter's Center, runs onto Route 3 and steps into the lines of Bug Catchers Colton (14, 6), Greg (25, 5) and James (36, 6) one at a time, like Liam in 00.09. It keeps out of Janice's, Ben's, Sally's and Calvin's lines and the grass, and saves at (36, 8).
  • 00.12 runs over Route 3 into Route 4, up column 12 to the Center, heals, and saves at (2, 3) facing the salesman (1, 3), the seam for a Gift RNG program. Lass Robin wanders across the way and is left to the walk's interrupts.
  • The save card reads "Route 3" and "Route 4". A map's place is its name or a building in it, so Route24 isn't Route 2.

Testing

  • AutoStory table tests: chain and routes (14 checkpoints), save places, lint, routes run after the shoes, run plan list. New: every route from the shoes on keeps off the grass, warps to maps not loaded (Mt. Moon) and trainers' lines except the three it fights.
  • AutoStory simulation covers the new rows. Save card images for Route 3/4 still to capture from the console.
  • Changed .cpp files syntax-checked locally with the Windows-Clang missing-field warning on; code health 0 failures. Not built or run locally; CI dispatched.

Console checks still to do:

  • each battle starts on the step into the line, from (14, 7), (24, 5) and (36, 5);
  • run pace over Route 3, and the walk (no run) inside both Centers;
  • 00.12 ends at (2, 3) facing the salesman, and talking to him starts his dialogue.

🤖 Generated with Claude Code

https://claude.ai/code/session_01AKYzhrMnPK61XHWEch4a6E

dayfine and others added 2 commits November 2, 2026 19:43
00.10 now ends below Pewter's Pokemon Center door, facing south, where the
by-hand walk stopped. 00.11 heals there and runs out of Pewter onto Route 3,
stepping into the lines of Bug Catchers Colton, Greg and James one at a
time to fight them, keeping out of the others' lines and the grass, and
saves at (36, 8). 00.12 runs over Route 3 into Route 4 and its Pokemon
Center, heals, and saves beside the Magikarp salesman, facing him: the seam
for a Gift RNG program.

The save card knows "Route 3" and "Route 4"; a map's place is matched as
its name or a building in it, so Route24 isn't Route 2. A table test walks
every route from the Running Shoes on and fails on a trainer's line the
table doesn't fight, tall grass, or a warp to a map not loaded (Route 4's
ways into Mt. Moon).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AKYzhrMnPK61XHWEch4a6E
dayfine and others added 22 commits November 2, 2026 20:15
The Route 3 lines test skipped wandering trainers. It now checks that each
route or legs leg crossing a wanderer's sight is one the walk can handle:
a single tile in any trainer's sight, off the grass, not to a warp, so the
walk knows where the trainer stopped the player. A new test pins 00.12's
crossing of Lass Robin's sight to Route 3 (40, 9). The test uses the maps'
trainer_may_see() instead of its own copy, and magikarp_salesman()'s
comment says how the walk now handles Robin.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AKYzhrMnPK61XHWEch4a6E
One helper, wanderer_stops(), gives for each leg crossing a wanderer's
sight the tile the walk would place the stop on; the lines test and the
Route 3 Lass Robin test both use it. Keeps the file well under the
1000-line limit for the PRs stacked on it.

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

So a run from these rows answers its first move prompt (Bite) as the
story plans, instead of taking the lead for a new game's Squirtle.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AKYzhrMnPK61XHWEch4a6E
… 3 and 4) into frlg/autostory-route3

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AKYzhrMnPK61XHWEch4a6E
…r RUN in a dark cave) into frlg/autostory-route3
…mpts out of step) into frlg/autostory-route3
…rlg/autostory-route3

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

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 #215 (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