Skip to content

FRLG AutoStory tests: every checkpoint walked on the sim to its declared end - #550

Draft
dayfine wants to merge 4 commits into
frlg/stage20-leaguefrom
frlg/endpoint-sims
Draft

dayfine wants to merge 4 commits into
frlg/stage20-leaguefrom
frlg/endpoint-sims

Conversation

@dayfine

@dayfine dayfine commented Nov 15, 2026

Copy link
Copy Markdown
Owner

Base: frlg/stage20-league (after #514). The diff shows only this change.

The user asked whether every FRLG AutoStory checkpoint has a simulation of its endpoint; 16 had none. This adds one generic case per checkpoint: it walks the row on the overworld sim from its start (walks and trainer battles on the sim, scenes, talks, Fly and heals moved to their declared pose) and checks the end tile and facing the plan declares (checkpoint_end_pose()). A coverage test holds every checkpoint of the story table to a case or a commented exemption. 70 checkpoints have cases, 23 are exempt: no start or no declared end (01.01, rows ending on LEGS taps), walks with state the generic walker lacks (gates, card keys, boulders, Cut, Surf), each pointing at its own test, and five red findings: 17.02 and 10.04 (the sim turns the player toward a trainer who walks up; pokefirered's TrainerSeeFunc_PrepareToEngage does not, so the plans' facing stands), 17.03 (Takashi in the way, already known), 06.03 (ends on (5, 4), plan says (5, 3)) and 13.01 (sim ends facing north, plan says south). Tested with the headless runner on the endpoint suite locally (71 passed); no plan or map data changed.

…red end

A case per checkpoint walks its row on the overworld sim from its start
and checks the end tile and facing its plan declares
(checkpoint_end_pose()); the coverage test holds every checkpoint of the
story table to a case or an exemption with its reason.
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