Skip to content

PokemonFRLG: find maps, warps and edges through the shared connected maps - #409

Draft
dayfine wants to merge 8 commits into
frlg/stage8-rocktunnelfrom
frlg/connected-maps
Draft

dayfine wants to merge 8 commits into
frlg/stage8-rocktunnelfrom
frlg/connected-maps

Conversation

@dayfine

@dayfine dayfine commented Nov 12, 2026

Copy link
Copy Markdown
Owner

Depends on #408.

Base: frlg/stage8-rocktunnel, with nav/connected-maps (#408) merged in; until #408 lands there the diff also shows its files.

The planner (OverworldRoute.cpp) and the sim (OverworldSim.cpp) each looked up maps, warp arrivals and edge crossings with their own copy of the same code. Both now go through Pokemon::ConnectedMaps; the step rules on the arrival tile (elevation, surfing, walking out of a door, lifts) stay here. One small difference: on a side with several connections, the planner used to give up if the first one led to a map that isn't loaded, and both took the first loaded one even when the tile was outside it; now they take the first loaded map that has the tile, as the sim already mostly did. Tested in the headless runner with the PokemonFRLG and Pokemon::ConnectedMaps suites: the story route plan golden (#393) passes unchanged; the other failures are image tests without fixtures, files missing from the local Resources, and OverworldSpin "lift lets out on the floor picked", which fails the same way on the base branch.

🤖 Generated with Claude Code

https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss

dayfine and others added 4 commits November 11, 2026 20:31
…maps

The planner's press() and the sim each had their own map lookup, warp
arrival and edge crossing. Both now read Pokemon::ConnectedMaps; what a
step onto the arrival tile does stays here.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
dayfine and others added 4 commits November 11, 2026 21:45
Conflict in SourceFiles.cmake: kept both file lists.

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