Skip to content

PokemonFRLG AutoStory: 11.03 through the Safari Zone to HM03 Surf - #426

Draft
dayfine wants to merge 17 commits into
frlg/stage11-cycling-roadfrom
frlg/stage11-safari
Draft

dayfine wants to merge 17 commits into
frlg/stage11-cycling-roadfrom
frlg/stage11-safari

Conversation

@dayfine

@dayfine dayfine commented Nov 12, 2026 •

Copy link
Copy Markdown
Owner

Depends on #425

Adds checkpoint 11.03: from below the Safari Zone door through the Safari Zone to HM03 Surf and the Gold Teeth, then Fly back to Fuchsia, as PokeGuy did (1:12:54 to 1:14:37).

  • The plan pays the entrance fee and rides the bike through the Center, East, North and West areas. It picks up the Full Restore (East) and the Gold Teeth (West), takes HM03 in the Secret House, and flies out with Pidgey. The Full Restore count is checked before and after.
  • A Super Repel is used just before the first grass. The lead's Lv36 outlevels every Safari wild Pokemon (Lv33 at most).
  • Bag use and Fly take a safari arg that opens the Safari Zone START menu (no SAVE row). The START menu helpers move unchanged from AutoStoryActions.cpp into a new AutoStoryStartMenu.cpp.
  • New Safari maps are in MAP_NAMES. The four Safari areas keep the bike across warps.
  • The Items pocket reader had no Full Restore, so 11.03's count after the Safari Zone read 0 (console B, 2026-11-12). It now names Full Restore, Super Potion, Moon Stone and Nugget, and a new AutoStoryItems test fails when any plan buys, uses or counts an item the reader can't name. PokemonFRLG_ItemListReader.cpp belongs to an earlier PR in the stack; fold this fix into it when consolidating. The CommandLineTests golden for ItemsPocketMoonStone_eng.png needs its first row changed from "(unread)" to moon-stone.

Console unknowns, not run on console B yet:

  • Timing of the entrance counter's trigger and its YES/NO.
  • The row order of the Safari START menu.
  • Flying out of the Safari Zone with Pidgey.
  • Whether warps between areas really keep the bike.
  • The Super Repel margin: the last grass tile is about its 194th step of 200.

Testing

  • New AutoStory Safari sim tests cover the walk, the 600-step budget, the Super Repel range and the START menu choice.
  • The ItemListReader name test and the plan item test were red before the names were added and green after.
  • The 11.03 fault sweeps are green, with no known-failing rows.
  • In the PokemonFRLG::AutoStory suites, the only failures are the 15 that also fail at the base without the CommandLineTests images.

🤖 Generated with Claude Code

https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss

dayfine and others added 5 commits November 12, 2026 02:39
Pokeguy's Safari Zone: 500 for the game, the eastern path, one Super
Repel and the Bicycle, the FULL RESTORE, the GOLD TEETH, HM03 SURF from
the Secret House, and Fly out to Fuchsia City. The Safari Zone's START
menu (RETIRE on top, no SAVE) is a StartMenu of its own, which the
use_item and fly steps open with their new `safari` arg. The Safari
maps are built in, and their edge warps keep a rider on the Bicycle.
New sim suite: the row on the OverworldSim, its steps against the
Safari Zone's 600 and the Super Repel's 200, and the menus.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
start_menu_rows() and the row helpers move unchanged from
AutoStoryActions.cpp, with start_menu_context() and step_start_menu(),
into AutoStoryStartMenu.cpp, next to their header; Actions.cpp was over
its line limit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
dayfine added a commit that referenced this pull request Nov 12, 2026
…heir tiles

The approach check (the walk before an A press ends on its tile) found
three 11.03 approaches ending on held open legs:

- FULL RESTORE: "east 4" along the east area's row 14 was open at
  (37, 14). Now held east to the wall (39, 14), south to (38, 16) above
  the level 4 ground, and a tile west to (37, 16).
- GOLD TEETH: "south 10" and "west 3" were open. Now south 11, west to
  the wall (26, 16), a tile east and a tile north into the ball (28, 14),
  ending on (28, 15) facing it; the turn step goes.
- Secret House attendant: "east 2" along row 6 was open at (7, 6). The
  route now ends on the door's arrival (4, 9), and a tapped walk goes
  north 1, east 2 and north 2 to (6, 6), facing him (as 10.06's Mr. Fuji).

Golden: 11.03 below_full_restore starts facing west; below_gold_teeth
leaves the route plans (now legs); into_secret_house ends at (4, 9).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
dayfine and others added 5 commits November 12, 2026 09:14
…Zone West sign tests (red)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
…ge places the player

11.03 run 1 (console B, 2026-11-12): into_secret_house's "north 5" to
Safari Zone West (27, 10) ran on into the sign on (27, 9); its message left
the player unplaced, and the same leg was held into the sign 9 times.
The planner now costs an open north/south leg ending at a sign
(RouteCost::SIGN_OVERSHOOT, 3), so the route turns west a row lower; a
message after such a leg places the player on its end.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
11.03 counted FULL RESTOREs with a reader that had no name for them: the
row matched several names, read as nothing, and the count after the
Safari Zone was 0 (console B, 2026-11-12). item_list_reader_knows() names
the reader's slugs; a test checks every item a plan buys, uses or counts,
and the MOON STONE and NUGGET, against it, and a matcher test reads FULL
RESTORE, SUPER POTION, MOON STONE and NUGGET. Both fail here.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
…, Nugget

11.03's FULL RESTORE row matched several names and read as nothing, so
count_full_restore_after saw 0 (console B, 2026-11-12). The reader now has
every item a plan buys, uses or counts, and the MOON STONE and NUGGET above
them in the pocket.

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