Skip to content

FRLG maps: Route 3, Route 4 and its Pokemon Center; walk where running isn't allowed - #190

Closed
dayfine wants to merge 23 commits into
frlg/autostory-rng-loopfrom
frlg/maps-route3-route4
Closed

dayfine wants to merge 23 commits into
frlg/autostory-rng-loopfrom
frlg/maps-route3-route4

Conversation

@dayfine

@dayfine dayfine commented Nov 3, 2026 •

Copy link
Copy Markdown
Owner

Depends on #184

Adds Route 3, Route 4 and Route 4's Pokemon Center to the FRLG maps, and makes the walker walk where the game doesn't allow running.

  • frlg_maps.py generates the three maps; Pewter City and Cerulean City gain their connections to them. Route 4's Center gets nurse_front (7, 4) and salesman_front (2, 3), west of the Magikarp salesman.
  • The generator writes "allow_running": false for maps whose pokefirered header forbids running (indoors), and each trainer's sight and facing (or the ways a turning or wandering trainer looks).
  • Map names on the command line are now added to the maps already in --out, so warps and connections still join them all.
  • Shared MapData reads allow_running (left out: true); that change is on Pokemon navigation: the shared core for AutoStory #114 and merged down the FRLG chain.
  • A planned step on a no-running map is walk_only: the walker times it as a walk and holds no B. Set by the planner, wall holds, re-anchoring and the story's fixed legs.

Testing

  • New unit tests: OverworldMaps (new maps load, Pewter to Route 4's Center plans, walk_only inside a Center only); FRLG walker: find the player again after an interrupted leg (position recovery) #119's recovery on the new maps: every open leg of 00.11/00.12 stopped at any estimate or anywhere is found again, and Lass Robin's and a Viridian Forest Bug Catcher's sight place a trainer's stop, OverworldWalk hold cases (a run indoors walks), MapData (allow_running parse and error).
  • frlg_maps.py --check matches all 28 maps; devtools/maps/tests pass (new test_frlg_maps.py).
  • 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.
  • Not checked on the console: the walk pace inside a Center with B held.

🤖 Generated with Claude Code

https://claude.ai/code/session_01AKYzhrMnPK61XHWEch4a6E

dayfine and others added 2 commits November 2, 2026 19:34
…g isn't allowed

The generator adds Route 3, Route 4 and Route4_PokemonCenter_1F, which joins
Pewter City and Cerulean City to them, and names the Center's nurse_front
and salesman_front (the Magikarp salesman stands at (1, 3)). Each map writes
"allow_running": false where pokefirered's header forbids running, and each
trainer their sight and the ways they look. Named maps on the command line
are added to the ones in --out, so warps and connections join them all.

A planned step on a map that doesn't allow running is walk_only: the walker
times it as a walk and holds no B, since B held indoors still walks.

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

From (7, 6) to the salesman, the planner held "west 5 (to wall)" onto the
escalator at (1, 6), whose 2F isn't loaded (console B, 2026-11-02).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AKYzhrMnPK61XHWEch4a6E
…ner stops place them

Every open leg of 00.11's way into Route 3 and 00.12's way over Route 3 and
4, stopped wherever the timing may put it (walking or running) or anywhere
on it, is recovered by #119's holds and way back. Lass Robin on Route 3 and
the Bug Catcher at (47, 45) in Viridian Forest each see one tile of a
planned leg: a stop there is theirs, with the trainer next to the player.

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 3, 2026
… 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
dayfine added a commit that referenced this pull request Nov 3, 2026
…nto frlg/autostory-gift-rng

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AKYzhrMnPK61XHWEch4a6E
dayfine and others added 11 commits November 2, 2026 22:02
…r RUN in a dark cave) into frlg/maps-route3-route4
…mpts out of step) into frlg/maps-route3-route4
…rlg/maps-route3-route4

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

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