From 88a91c9cbb74a6f750ffc50d9334af10ff1c5787 Mon Sep 17 00:00:00 2001 From: dayfine Date: Sun, 1 Nov 2026 12:17:52 -0800 Subject: [PATCH 1/6] Design: FRLG AutoStory events after Brock (moved from fork #126) Moved from the program folder on #120 to docs/design, renumbered for the 00.07/00.08 forest split (Brock is 00.09), and pointed at the planned run modes. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01AKYzhrMnPK61XHWEch4a6E --- docs/design/AutoStory-FRLG-FutureEvents.md | 398 +++++++++++++++++++++ 1 file changed, 398 insertions(+) create mode 100644 docs/design/AutoStory-FRLG-FutureEvents.md diff --git a/docs/design/AutoStory-FRLG-FutureEvents.md b/docs/design/AutoStory-FRLG-FutureEvents.md new file mode 100644 index 0000000000..a61cb85492 --- /dev/null +++ b/docs/design/AutoStory-FRLG-FutureEvents.md @@ -0,0 +1,398 @@ +# FRLG AutoStory: draft events after Brock + +Status: **design data / pseudocode only**. These rows are not registered in +`story_checkpoints()` and are not executable or console-validated. + +Continue the structure of `SerialPrograms/Source/VideoGames/PokemonFRLG/Programs/AutoStory/PokemonFRLG_AutoStoryTable.cpp` +(fork #120, frlg/autostory-mvp). The implemented table ends at `00.09`, in Pewter Gym after Brock +(00.07 Viridian shopping into the forest, 00.08 forest to the Pewter Center, 00.09 Brock). Keep those +IDs unchanged. Proposed `01.xx` onward IDs below are editorial grouping, not +a commitment to checkpoint sizes or public selector values. + +The [Bulbapedia walkthrough](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen) +supplies the progression inventory. Ordering choices, checkpoint boundaries, +verification contracts and helper names below are our automation proposals. +This is an original event outline, not a reproduction of the guide's routes. +Resolve coordinates, exact trigger tiles, script conditions, trainer movement +and scene end poses against the decomp and then a live run before conversion. + +Run modes (planned, see the notes branch `autostory/DEMO_PLAN.md`): SPEEDRUN, DEFAULT and SAFE +choose which battles to take, whether to flee wild Pokemon, the heal threshold and what to buy. +Rows below describe DEFAULT; choices a mode would switch should be named in each row when the +row is implemented. + +## How to read and eventually implement the table + +The first target remains FireRed with Squirtle, as in the current MVP. +LeafGreen and other starters need explicit encounter/team profiles; the draft +does not assume the current Bubble-oriented battle logic wins later fights. + +Current table helpers are `route`, `legs`, `step_into`, `talk`, `answer`, +`scene`, `battle`, `ready`, `heal` and `make`. Their current limits matter: + +- `route` and `legs` need actual mapped geometry. An `@anchor` below is a + symbolic location, **not** an existing map point or a fabricated coordinate. +- `battle` currently uses the MVP battle implementation; each named fight + below needs its own readiness and move/party policy. All progression fights + require a win; the tutorial's `may_lose=true` exception does not carry on. +- `ready` covers the MVP's HP/status preparation, not arbitrary PP, level, + matchup, roster or inventory checks. `SHOP` is currently a fixed Viridian + purchase, not a general restocking primitive. +- `scene` is the current MASH step. Item pickup, scripted travel, puzzles, + gifts, field moves and special battle modes must not be implemented as blind + mashing merely because the story describes a cutscene. + +Pseudo-operations shown in capitals are **new requirements**, not existing +`StoryStepKind` values: `VERIFY`, `ITEM`, `TEACH`, `FIELD`, `PARTY`, `PREP`, +`PUZZLE`, `TRAVEL`, `CAPTURE`, `CHOICE`, `SAVE_BOUNDARY` and `STOP_AT`. +`VERIFY` means an observable postcondition; semantic facts such as +`ticket_received` are planning labels, not claims that we can read game RAM +or that a same-named script flag exists. + +Each table row is a candidate checkpoint with ordered subevents. Split long +travel and dungeon rows into bounded, named route/battle events as their maps +are surveyed. Do not guess the unavoidable trainers from a walkthrough's +listing: choose a path, inspect sight lines, then name each fight in its table. + +```text +checkpoint("01.03", "Mt. Moon fossil", start=@MtMoon.safe_entry, + supplies=OBSERVED_AT_START, menu=FULL) { + route("to_fossils", @MtMoon.fossil_approach, fight_wild=EXP_POLICY); + PREP("Miguel", hp_status_pp_and_matchup_policy); + talk("challenge_miguel"); + battle("super_nerd_miguel", pose_after=VALIDATE_ON_CONSOLE, may_lose=false); + CHOICE("fossil", configured_choice); + ITEM("chosen_fossil"); + VERIFY(inventory_contains(chosen_fossil) && exit_lane_open); + route("safe_end", @MtMoon.exit_approach); + SAVE_BOUNDARY(); +} +``` + +In executable form, use the real `StoryPose`, `Supplies`, event parameters and +save mechanism. No new C++ helper or default option is introduced by this file. +The inventory/supplies at future starts are unknown until measured; `{2, 1}` +from Brock must not be copied forward. + +## Proposed progression and dependencies + +Default proposed story order: + +```text +Brock -> Mt. Moon -> Cerulean / Bill / Misty -> S.S. Anne / Cut / Surge + -> Rock Tunnel -> Celadon / Erika / Rocket Hideout / Silph Scope + -> Pokemon Tower / Poke Flute -> Fuchsia / Surf / Strength / Koga + -> Silph Co. / Sabrina -> Cinnabar / Blaine -> Viridian / Giovanni + -> Victory Road -> Elite Four / Champion -> Hall of Fame +``` + +This is one chosen schedule, not a claim that all gyms have a forced order. +In particular, Misty and Bill can be scheduled differently; the schedule below +uses Bill first for progression and experience. Safari before Koga obtains Surf +but does not authorize its field use until the Soul Badge. Silph and Sabrina +can be moved earlier if the chosen battle policy benefits. + +Bill's first Sevii visit is a selectable detour after Blaine. For a first-Hall- +of-Fame target it may be deferred; the postgame gemstone story must first +complete that visit. Optional branches never silently become prerequisites. + +| Capability or state | Producer | Consumers | +|---|---|---| +| S.S. Ticket | Bill restored | S.S. Anne boarding | +| Cut known + Cascade Badge | Captain + party management + Misty | Trees gating routes and gyms | +| Flash known + Boulder Badge | 10 caught species + Route 2 aide + compatible party member | Proposed illuminated Rock Tunnel route; optional if a dark route is validated | +| Silph Scope | Rocket Hideout | Tower ghost identification | +| Poke Flute | Fuji rescued, then spoken to at home | Selected Snorlax roadblock | +| Tea handed to a guard | Celadon Mansion | Saffron access; vending-machine drinks are not the FRLG gate key | +| Bicycle | Fan Club voucher exchanged in Cerulean | Cycling Road alternative; not the coastal default | +| Surf known + Soul Badge | Safari Secret House + Koga | Sea routes, Route 23 and later islands | +| Strength known + Rainbow Badge | Gold Teeth returned + Erika | Victory Road and selected cave puzzles | +| Seven badges | Earlier gyms | Viridian Gym access | +| All eight badges | Giovanni | League checkpoint gates | +| National Pokedex | First Hall of Fame + at least 60 caught species + Oak | Postgame gemstone quest | +| Rainbow Pass | Ruby delivered to Celio | Four through Seven Island | +| Rock Smash known + Marsh Badge | Ember Spa + Sabrina | Optional obstacle routes | +| Waterfall known + Volcano Badge | Icefall Cave + Blaine | Lorelei's Icefall back-cave scene | + +These dependencies summarize the cited chapters below. Field-move acquisition, +learning and badge permission are separate facts and require separate checks. + +## Main story table + +For every row: start from the previous verified safe endpoint; its listed +postcondition must hold before the engine commits the checkpoint's end save. +Every `@anchor` and scene pose remains TBD. A visible destination and a completed +dialog are insufficient when the row's purpose is a badge, item or changed gate. + +### 01 — Pewter to Cerulean + +Sources: [Part 3, after Brock](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_3), +[Part 4, Route 3 / Mt. Moon / Route 4](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_4). + +| ID | Event | Ordered draft steps | Commit only after | +|---|---|---|---| +| 01.01 | Leave Pewter | `ready`/`heal`; `route(@Pewter.east_exit)`; `scene(Oaks_aide)`; receive Running Shoes. | Shoes received; aide scene over; route endpoint known. Continue walking with existing timings; running needs separate calibration. | +| 01.02 | Route 3 and cave staging | `route(Route3)` with selected trainer fights; `route(@Route4.center)`; `heal`; `PREP(MtMoon)`; optional Magikarp purchase. | Healthy party, usable PP, affordable cave supplies, recorded safe save outside Mt. Moon. | +| 01.03 | Traverse Mt. Moon | Route selected 1F/B1F/B2F path; fight required path trainers/Rockets; `PREP(Miguel)`; `battle(Miguel)`; select and collect one fossil. | Selected fossil in inventory; exit path open; exact pose reacquired. Optional chambers and loot are separate branches. | +| 01.04 | Route 4 descent | Exit cave; optional Mega Punch/Kick tutor; route down the one-way ledges to `@Cerulean.center`; `heal`. | Cerulean reached and healed; save after descent. Do not plan a walking return uphill. | + +### 02 — Bill, Misty and the southern exit + +Source: [Part 5](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_5). + +| ID | Event | Ordered draft steps | Commit only after | +|---|---|---|---| +| 02.01 | Cerulean rival | `PREP(rival)`; route to bridge approach trigger; `battle(rival_cerulean)`; finish his return-and-gift scene. | Win; Fame Checker received; rival departure complete. | +| 02.02 | Nugget Bridge | Five individually named trainer battles with bounded healing policy; receive Nugget; battle Rocket recruiter. | All five bridge fights and recruiter resolved; north path usable. | +| 02.03 | Route 25 | Route selected trainer corridor to `@SeaCottage.bill_front`; fight route-specific trainers. | Cottage entered at an observed, stable pose. | +| 02.04 | Restore Bill | `talk(Bill)`; `answer(help,true)`; wait for chamber entry; interact with PC; `scene(separation)`; `talk(Bill)` again. | Bill human; S.S. Ticket received; return route available. | +| 02.05 | Cascade Badge | Return to Cerulean; heal/restock; route selected gym approach; `talk(Misty)`; `battle(Misty)`; finish rewards. | Cascade Badge and TM03 received; exit pose known. Squirtle-only battle assumptions must be replaced first. | +| 02.06 | Burgled house | Verify officer moved; enter house and rear exit; challenge thief; `battle(rocket_thief)`; collect TM28. | Thief resolved; southern passage usable; Dig reward accounted for. | +| 02.07 | Underground Path | Route 5; optional Day Care left disabled; enter north-south Underground Path; emerge on Route 6. | Correct southern exit/map confirmed; no unintended deposited party member. | + +### 03 — Vermilion, Cut and Lt. Surge + +Source: [Part 6](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_6). + +| ID | Event | Ordered draft steps | Commit only after | +|---|---|---|---| +| 03.01 | Route 6 to Vermilion | Route selected trainer path; enter Center; `heal`; `PREP(ship_and_surge)`. | City endpoint known; battle and Cut-user plan recorded. | +| 03.02 | Travel support | Optional `ITEM(VsSeeker)` and Old Rod; obtain Bike Voucher if choosing bike branch. | Each requested gift observed; skipped gifts remain skipped, not inferred present. | +| 03.03 | Board S.S. Anne | Route harbor; ticket check; enter ship; route to selected healing cabin or rival approach. | Boarding accepted; correct ship room and return route known. | +| 03.04 | Ship rival | `PREP(rival_ship)`; route upper-deck trigger; `battle(rival_ss_anne)`; resolve departure dialog. | Win and stable captain approach. | +| 03.05 | Captain's Cut | `talk(captain)`; `scene(backrub)`; receive HM01; `PARTY(compatible_cut_user)`; `TEACH(Cut,explicit_slot)`; leave ship. | Cut actually learned; ship departure scene finished; player at harbor anchor. | +| 03.06 | Reach Surge | `FIELD(Cut,gym_tree)`; enter gym; fight selected trainers; `PUZZLE(two_trash_switches)` with observed resets. | Both locks open in this attempt; no fixed trash-can sequence assumed. | +| 03.07 | Thunder Badge | `PREP(Surge)`; `talk(Surge)`; `battle(Surge)`; finish rewards; return/heal. | Thunder Badge and TM34 received; party usable. Ground coverage or another validated strategy required. | + +### 04 — Flash branch, Rock Tunnel and Celadon + +Sources: [Part 7](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_7), +[Part 8](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_8). + +| ID | Event | Ordered draft steps | Commit only after | +|---|---|---|---| +| 04.01 | Flash preparation branch | If illuminated route selected: `CAPTURE(unique_species_until_10)`; traverse Diglett's Cave to eastern Route 2; Cut access trees; talk to aide; `TEACH(Flash)`. | HM05 received and learned. If declining branch, require a separately validated dark-navigation profile. | +| 04.02 | Return to Cerulean | Route back through cave and Vermilion, then Underground Path; optionally exchange Bike Voucher. | Correct Cerulean anchor; Bicycle only assumed if exchange verified. | +| 04.03 | Routes 9 and 10 | Cut eastern exit tree; route chosen trainer path; heal at Route 10 Center; stage Rock Tunnel. | Cave-entry save and sufficient HP/status/PP supplies. | +| 04.04 | Rock Tunnel | Enter; `FIELD(Flash)` if selected; route floor/ladder anchors; resolve path trainers; exit south. | Correct Route 10 south exit; no inferred shortcut through darkness. | +| 04.05 | Lavender staging | Route to Center; heal/restock. Default skips early Tower ascent so its rival is fought once after the Scope. | Lavender endpoint recorded; Tower progress accurately marked untouched. | +| 04.06 | Celadon access | Route 8; east-west Underground Path; Route 7; enter Celadon Center. | Celadon arrival and safe save; do not attempt Saffron gates before Tea. | + +### 05 — Erika, Rocket Hideout and the Poke Flute + +Sources: [Part 9](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_9), +[Rocket Hideout](https://bulbapedia.bulbagarden.net/wiki/Rocket_Hideout). + +| ID | Event | Ordered draft steps | Commit only after | +|---|---|---|---| +| 05.01 | Celadon services | Obtain Tea from mansion; shop by explicit budget; optional Eevee/stone or battle TMs as roster policy requires. | Tea held; purchases/gifts verified; no accidental move replacement. | +| 05.02 | Rainbow Badge | Cut gym access; route trainers; `PREP(Erika)`; `battle(Erika)`; finish rewards. | Rainbow Badge and TM19; learned Strength will later be usable. | +| 05.03 | Hideout entrance | Battle poster guard; inspect poster switch; enter stairs. | Hidden entrance open and B1F anchor confirmed. | +| 05.04 | Lift Key | Traverse spinners/stairs to B4F northwest; battle key grunt; **talk again**; pick up dropped key. | Lift Key held; not merely grunt beaten. | +| 05.05 | Hideout Giovanni | Return to lift; select B4F; defeat door guards; open boss access; `battle(giovanni_hideout)`; collect Silph Scope. | Scope held; boss scene finished. | +| 05.06 | Saffron gate unlock | Give Tea to a gate guard; traverse Saffron toward Lavender. | Guard admits player; shared gate access established. | +| 05.07 | Tower rival | Enter Tower; `PREP(rival_tower)`; `battle(rival_tower)`; route upper floors. | Rival beaten; named floor anchor. | +| 05.08 | Ghost and rescue | Ascend with healing zone policy; identify/defeat Marowak; fight three upper-floor Rockets; speak to Fuji; complete escort. | Fuji returned home; correct post-escort pose. Ghost is a special encounter, not a capture target. | +| 05.09 | Poke Flute | Speak to Fuji at home; receive flute; prepare southern travel. | Poke Flute held. Rescue alone is not the item postcondition. | + +### 06 — Fuchsia, Safari tools and Koga + +Source: [Part 10](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_10). + +Default route choice is the eastern coastal approach, avoiding a compulsory +Bicycle. The western branch is retained explicitly rather than running both. + +| ID | Event | Ordered draft steps | Commit only after | +|---|---|---|---| +| 06.01 | Choose southern road | East default: Route 12, flute, resolve Snorlax, Routes 13/14/15. West alternative: Bicycle, Route 16 flute/Snorlax, Routes 17/18. | Selected roadblock removed; capture vs defeat policy explicit; no dependency on the unused road. | +| 06.02 | Fuchsia staging | Route selected trainers to Center; heal; budget Safari fee and supplies. | Fuchsia safe save; Cut/party roles and bag space checked. | +| 06.03 | Safari entry | Pay admission; use Safari-specific encounter handling; route Center → Area 1 → Area 2 → Area 3. | Remaining step budget sufficient; normal wild-battle combat/flee handler never used here. | +| 06.04 | Gold Teeth and Surf | Pick up Gold Teeth; enter Secret House; talk for HM03; leave/retire with a known exit. | Both Gold Teeth and HM03 observed; no success from walking near their tiles. | +| 06.05 | Strength and party | Return teeth to Warden; receive HM04; `TEACH(Strength)`; `TEACH(Surf)` to chosen compatible members. | Both moves learned; move-slot choices recorded. Surf still gated by Koga. | +| 06.06 | Soul Badge | Route invisible-wall gym path; fight selected trainers; `PREP(Koga)`; `battle(Koga)`; finish rewards. | Soul Badge and TM06; actual Surf field capability confirmed. | + +### 07 — Silph Co. and Sabrina + +Sources: [Part 11](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_11), +[Silph Co.](https://bulbapedia.bulbagarden.net/wiki/Silph_Co.). + +| ID | Event | Ordered draft steps | Commit only after | +|---|---|---|---| +| 07.01 | Saffron services | Return via unlocked gates or verified Fly; heal; optional Psychic TM/Dojo branch; enter Silph. | Silph entry and staging save; no assumed teleport unlocks. | +| 07.02 | Card Key | Route to fifth-floor key corridor; fight selected guards/scientists; pick up Card Key. | Key held; door-opening behavior tested. | +| 07.03 | Rival access | Return to third-floor central room; open key door; use mapped warp to seventh-floor rival room. | Arrival floor/room verified; not just a screen fade. | +| 07.04 | Silph rival | `PREP(rival_silph)`; `battle(rival_silph)`; optional Lapras gift with party space; restore party readiness. | Rival beaten; requested Lapras received; onward warp usable. | +| 07.05 | Silph Giovanni | Warp to 11F; resolve guard and locked access; `PREP(giovanni_silph)`; `battle(giovanni_silph)`. | Boss leaves; occupation-ending scene complete. | +| 07.06 | President and city | Talk to President for Master Ball; exit; confirm gym obstruction removed. | Master Ball accounted for; Saffron Gym accessible. | +| 07.07 | Marsh Badge | Follow mapped gym teleport sequence; `PREP(Sabrina)`; `battle(Sabrina)`; finish rewards. | Marsh Badge and TM04; gym exit pose established. | + +### 08 — Cinnabar and Blaine + +Sources: [Part 12, sea approach](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_12), +[Part 13, Cinnabar](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_13). + +The proposed default returns to Pallet and Surfs south on Route 21; this is +our scheduling choice. The walkthrough's Route 19/20/Seafoam approach is an +alternative branch with its own Strength/current puzzle, listed later. + +| ID | Event | Ordered draft steps | Commit only after | +|---|---|---|---| +| 08.01 | Sea preparation | Return to Pallet using verified travel; heal; verify Surf user, permission and sea-route battle policy. | Known shore entry pose and usable party. | +| 08.02 | Reach Cinnabar | Surf Route 21; handle chosen trainer/encounter path; land at Cinnabar; heal. | Landed at correct island Center and saved. | +| 08.03 | Mansion entry | Enter Mansion; traverse mapped stairs/statue switches to upper-floor drop approach. | Correct switch state and drop alignment; route cannot treat closed doors as ordinary floor. | +| 08.04 | Secret Key | Take validated drop; descend basement; solve remaining switch/door sequence; collect Secret Key; exit. | Key held; player outside Mansion at known pose. | +| 08.05 | Gym rooms | Unlock gym; solve each quiz terminal or explicitly fight its trainer; verify each door. | Blaine approach reachable; answer policy tied to actual question, not repeated YES. | +| 08.06 | Volcano Badge | `PREP(Blaine)`; `battle(Blaine)`; finish rewards; exit to Bill's invitation. | Volcano Badge and TM38; invitation recognized without accidental acceptance. | +| 08.07 | Bill branch decision | First-Hall-of-Fame default: decline and record deferred visit. If first-islands target selected: run branch `S1` below. | Either free control on Cinnabar or S1 completed; correct branch state saved. | + +### 09 — Eighth badge and Victory Road + +Sources: [Part 15](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_15), +[Part 16](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_16). + +| ID | Event | Ordered draft steps | Commit only after | +|---|---|---|---| +| 09.01 | Return to Viridian | Travel north via Route 21/Pallet or validated Fly; heal; verify seven badges and gym entry. | Viridian staging save with gym accessible. | +| 09.02 | Gym spinner path | Route mapped spinner sequence; deliberately trigger trainer movements needed to clear access; fight selected trainers. | Giovanni approach open; moved NPC positions reflected in route state. | +| 09.03 | Earth Badge | `PREP(giovanni_gym)`; challenge/battle; finish reward/departure scene. | Earth Badge and TM26; all eight badges observed. | +| 09.04 | Route 22 rival | Heal/restock; route west trigger; `battle(rival_route22)`. | Win; League approach free; party ready to continue. | +| 09.05 | Badge gates | Traverse reception/Route 23 checks in order; use Surf on the water section; reach Victory Road entry. | All badge checks passed; known cave-entry save. | +| 09.06 | Victory Road 1F | Activate Strength; push first mapped boulder to switch; verify barrier removal; route to next floor. | Correct boulder/switch state and safe floor anchor. | +| 09.07 | Victory Road upper floors | Solve second-floor switch and third-floor switch; resolve selected trainers; push drop boulder and follow it; solve final switch. | Each barrier actually open; state tracked across falls and map reloads. | +| 09.08 | Indigo staging | Exit cave; Route 23 north to Plateau; heal/shop; `PREP(full_league_gauntlet)`. | Team, levels, PP, healing/revival budget and move coverage verified before entering. | + +### 10 — First League and Hall of Fame + +Source: [Part 17](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_17). + +League interior rows are event boundaries, **not automatically safe reload +checkpoints**. Choose an explicit save policy: replay from the pre-League save, +or persist a validated room-specific save and its exact remaining resources. +The existing universal checkpoint save behavior must be reviewed first. + +| ID | Event | Ordered draft steps | Commit only after | +|---|---|---|---| +| 10.01 | Enter League | Verify target is first-round teams; commit pre-League save; enter Lorelei room. | Correct run mode and no unsupported mid-gauntlet reset assumption. | +| 10.02 | Lorelei | `PREP(Lorelei,carried_items_only)`; challenge; `battle(Lorelei)`; handle level/move prompts. | Win; next door open; HP/status/PP reconciled. | +| 10.03 | Bruno | Restore with carried resources; enter/challenge; `battle(Bruno)`. | Win; next door open; surviving roster checked. | +| 10.04 | Agatha | Restore; enter/challenge; `battle(Agatha)` with status/confusion policy. | Win; no unresolved status/menu before next room. | +| 10.05 | Lance | Restore; enter/challenge; `battle(Lance)`. | Win; Champion door open; final preparation performed before crossing trigger. | +| 10.06 | Champion | Enter automatic rival trigger; `battle(champion_rival,starter_profile)`; complete Oak/rival aftermath. | Champion defeated; Hall of Fame sequence actually reached. | +| 10.07 | Hall of Fame and credits | Register team; wait through credits and title/Continue sequence; reacquire postgame control. | Hall of Fame recorded; postgame state/pose confirmed; first-story target stops here. | + +## S1 — First Sevii visit, selectable after Blaine or before postgame quest + +Source: [Part 14](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_14). +This branch is optional for the first League target and required before the +later Celio quest. It must be invoked once, not replayed on every resume. + +| ID | Event | Ordered draft steps | Commit only after | +|---|---|---|---| +| S1.01 | Bill's ferry | Stage party before leaving; accept Bill's invitation; complete One Island Network Center scene. | One Island pose; Tri-Pass and Meteorite received; initial unavailable PC services accounted for. | +| S1.02 | Two Island request | `TRAVEL(ferry,TwoIsland)`; talk to Game Corner owner; learn Lostelle is missing. | Search scene complete; no claim that Meteorite has already been delivered. | +| S1.03 | Three Island bikers | Ferry to Three Island; route to biker confrontation; resolve its battle sequence. | Bikers depart; Bond Bridge route usable. Each fight needs an individual battle boundary. | +| S1.04 | Berry Forest rescue | Route Bond Bridge/forest; talk to Lostelle; resolve Hypno by configured defeat/capture policy; finish escort. | Lostelle safe; automatic transfer to Two Island recognized. | +| S1.05 | Deliver Meteorite | Talk to father after rescue; complete delivery/reward; return to One Island and Bill. | Meteorite delivery complete; Bill/Celio scene returns player to Cinnabar. | +| S1.06 | Optional Ember tools | At an explicit island-travel opportunity: visit Ember Spa for HM06; teach Rock Smash only if requested. | HM06/learned move recorded; return anchor/travel destination explicit. | + +## Postgame progression table + +Target `network_complete` includes P1 and P2. Target `mewtwo_ready` continues +through P3. Capture, rematch and exploration targets remain opt-in branches. + +### P1 — National Pokedex, Ruby and Rainbow Pass + +Source: [Part 18](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_18). + +| ID | Event | Ordered draft steps | Commit only after | +|---|---|---|---| +| P1.01 | National Dex gate | Verify first Hall of Fame; if not already upgraded, require 60 caught species via an explicit bounded collection plan or stop at unmet prerequisite; complete Oak's upgrade scene. | National Pokedex upgrade observed. Seen count is not caught count. | +| P1.02 | Complete first visit | If S1 incomplete, return to Bill and finish S1; travel to One Island; talk to Celio about gemstone. | Initial island story complete; Ruby request active. | +| P1.03 | Mt. Ember entrance | Route Kindle Road to Ember; observe Rocket password scene; battle both guards. | First warehouse password learned; Ruby tunnel accessible. | +| P1.04 | Ruby cave | Traverse mapped floors/Strength puzzle; pick up Ruby; return to Celio. | Ruby delivered; Rainbow Pass received. | +| P1.05 | Icefall tools | Ferry Four Island; enter Icefall Cave; solve cracked-floor/ice path; collect HM07; teach Waterfall; verify field permission. | Waterfall learned and usable; exact entrance-side pose. | +| P1.06 | Lorelei rescue | Climb waterfall; reach Back Cave; speak to Lorelei; battle assigned Rocket; complete interrogation. | Lorelei scene complete; next quest access state updated. | + +### P2 — Sapphire and the Network Machine + +Sources: [Part 18, Six Island](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_18), +[Dotted Hole](https://bulbapedia.bulbagarden.net/wiki/Dotted_Hole), +[Part 19, Five Island](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_19). + +| ID | Event | Ordered draft steps | Commit only after | +|---|---|---|---| +| P2.01 | Six Island | Ferry Six Island; resolve optional rival conversation if encountered; route Water Path south to Ruin Valley. | Dotted Hole approach and correct quest state; do not force entry while story-blocked. | +| P2.02 | Dotted Hole | Use Cut on sealed door; descend mapped hole sequence; approach Sapphire. | Scientist theft scene complete; second warehouse password learned; Sapphire is **not** yet in inventory. | +| P2.03 | Warehouse entry | Ferry Five Island; route Five Isle Meadow; use both learned passwords at warehouse entrance. | Entrance opens; indoor anchor confirmed. | +| P2.04 | Warehouse maze | Follow mapped spinner path; fight path grunts; then resolve female and male Admin battles. | Admin defeat/movement states open scientist route. | +| P2.05 | Reclaim Sapphire | `PREP(Gideon)`; challenge Scientist Gideon; win; receive Sapphire. | Sapphire held; safe exit route. | +| P2.06 | Complete network | Return One Island; give Sapphire to Celio; complete machine scene. | Network quest completion observed; target `network_complete` may stop here. No link trade is attempted. | + +### P3 — Cerulean Cave and optional League rematch + +Source: [Part 20](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_20). + +| ID | Event | Ordered draft steps | Commit only after | +|---|---|---|---| +| P3.01 | Cave access | Return Cerulean; Surf from Route 24; verify guard no longer blocks entrance. | Actual cave entry, not just assumed completion of prerequisites. | +| P3.02 | Mewtwo approach | Traverse mapped 1F/2F/B1F path; prepare Repel/encounter policy; stage at Mewtwo interaction anchor. | Stable pre-encounter save; target `mewtwo_ready` stops without pressing A. | +| P3.03 | Optional Mewtwo capture | Only for capture target: verify capture policy and resources; interact; execute bounded capture; verify roster/PC result. | Mewtwo captured, or explicit failure without overwriting the pre-encounter save. | +| P3.04 | Rematch staging | If requested after network quest: return Plateau; heal/restock; verify upgraded team profile. | Rematch roster/PP/resources ready; separate pre-League save. | +| P3.05 | Rematch battles | Separate events for Lorelei, Bruno, Agatha, Lance and Champion; reconcile resources between each. | Five wins against rematch profiles; not reused first-round assumptions. | +| P3.06 | Second Hall of Fame | Finish registration/credits; return to stable postgame control. | Rematch completion recorded; stop rather than looping indefinitely. | + +## Optional branches and walkthrough coverage + +These are proposed event chains, not implied work for the main-story target. +All permanent gift/capture choices need a selected policy and a checked result. +Ordinary hidden items, full encounter collections and every optional trainer +are not individually enumerated here; selected routes must expand their own +trainer and supply events before implementation. + +| Branch | Gate / source | Draft event chain and completion evidence | +|---|---|---| +| O.01 Magikarp / fossil support | [Part 4](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_4) | Purchase Magikarp only for chosen roster → verify party/PC destination. Optional cave chambers, Moon Stones and route tutors require explicit pickup/teaching checks. Fossil choice itself stays in 01.03. | +| O.02 Cerulean/Vermilion services | [Parts 5](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_5) / [6](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_6) | Optional Powder Jar, Day Care, Old Rod, Vs. Seeker, NPC trades → verify respective gift/exchange and resulting party. Bike Voucher → Bicycle is its own checked exchange. | +| O.03 Route 11 / museum | [Part 7](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_7) | Optional Itemfinder aide requires 30 caught species → verify gift. Cut museum side access → receive Old Amber → reserve for Cinnabar revival. Flash route is already represented in 04.01. | +| O.04 Early Tower visit | [Part 8](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_8) | Fight rival before Celadon if selected → record it → skip that fight in 05.07. Do not attempt ghost completion without Scope. Optional Name Rater interaction needs its own naming policy. | +| O.05 Celadon roster/economy | [Part 9](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_9) | Eevee gift → chosen evolution; Coin Case/prize purchases; rooftop exchanges/tutors → verify costs, party space and exact moves. No unbounded gambling event. | +| O.06 Fly and Cycling Road | [Part 10](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_10) | Cut Route 16 access → receive HM02 → teach compatible member → verify Fly destination selection. Western road also needs Bicycle and chosen Snorlax resolution; downhill movement requires its own controller policy. | +| O.07 Eastern coast extras | [Part 10](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_10) | Optional Good/Super Rod and Exp. Share aide (50 caught species) → verify gifts; alternate road exploration must not re-trigger a resolved Snorlax as if untouched. | +| O.08 Dojo / Saffron gifts | [Part 11](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_11) | Fight selected Dojo trainers and master → choose Hitmonlee/Hitmonchan → verify gift. Optional Mr. Psychic, Copycat and Silph tutor events need item/move contracts. Lapras selection is in 07.04. | +| O.09 Seafoam alternative / Articuno | [Part 12](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_12) | Surf Routes 19/20 → solve Strength boulder/current stages → optionally stop/save before Articuno → capture only if selected → continue west to Cinnabar. Track boulders/floors separately from player pose. | +| O.10 Cinnabar revival / tutors | [Part 13](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_13) | Hand over chosen Mt. Moon fossil or Old Amber → complete required leave/return interaction → receive revived Pokemon; verify party space. Optional trades/tutor are separate choices. | +| O.11 One–Three Island extras | [Part 14](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_14) | Treasure Beach, Ember Spa, Cape Brink tutor and Two Island Move Maniac are explicit detours. Moltres approach → pre-encounter stop/save → optional capture. Do not conflate Moltres with S1 rescue progress. | +| O.12 Power Plant / Zapdos | [Part 15](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_15) | Surf to Plant → distinguish item balls from stationary encounters → reach Zapdos → stop/save → optional capture. Return to a named travel anchor. | +| O.13 Four / Six Island exploration | [Part 18](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_18) | Day Care, tutor/sticker services, Pattern Bush, Outcast Island/Altering Cave are opt-in visits with explicit interaction goals; none substitutes for Lorelei/Dotted Hole progression. | +| O.14 Five Island side quests | [Part 19](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_19) | Memorial Pillar tribute → checked reward; Water Labyrinth friendship gift → checked egg/space; Lost Cave rescue of Selphy → escort state; later requested-species/reward tasks are bounded, separate objectives. | +| O.15 Seven Island / Tanoby | [Part 19](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_19) | Canyon Entrance → Sevault Canyon → solve Tanoby Key boulders → verify Ruins encounter unlock → optional Unown collection. Trainer Tower is a separate challenge mode with explicit battle format and endpoint. | +| O.16 Roaming beast | [Part 20](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_20) | After network completion, choose bounded search/capture target; beast depends on starter (Squirtle profile: Raikou). Preserve one-time encounter state; do not insert random searching into linear story progress. | +| O.17 Birth Island / Navel Rock | Walkthrough index Part 21 is a red link at research time. | Reserved external-access branches, not part of the default route. Ticket/access prerequisites, version/platform support, puzzle and encounter contracts need separate sourcing before any runnable rows are written. Do not assume access from finishing the network quest. | + +## Missing capabilities exposed by the draft + +| Capability | First use | Requirement before executable events | +|---|---|---| +| Broader battle/party policy | Misty and later rivals; Surge in particular | HP/status/PP, move effectiveness, switching, fainted members, bounded recovery, level/evolution/move prompts and trainer vs wild distinction. | +| Capture and caught-species accounting | Cut user / Flash branch; later National Dex | Bounded encounters/balls, unique-species counting, party/PC destinations, no assumed count from sightings. A full 60-species plan is still to be designed. | +| General item and shop interaction | Fossil, key items, evolving roster | Item identity/quantity, bag capacity, purchase budget, repeat-safe gifts and consumed items. | +| HM/TM learning and field actions | Cut | Explicit compatible member and replacement slot; confirm learned move and badge; replan with changed cut-tree/field state. | +| Story-aware map state | Bill return, gyms, Rocket occupation | Actual current object/trigger/switch state. Do not remove all post-Hall-of-Fame objects up front as a general substitute. | +| Forced movement / dynamic puzzles | Hideout spinners; later boulders | Directed transitions, door state, pushable objects, floor drops, currents and ice. Ordinary walkable grids do not model these automatically. | +| Observed puzzle search | Surge | Read first/second-switch/reset outcomes; bounded attempts; no assumed random layout. | +| Special interaction modes | Safari, ship lift/ferry, teleports | Correct menu and mode ownership; Safari encounters cannot use ordinary battle handlers. | +| Arrival and scene verification | Every new dungeon/escort | Map/pose/facing after automatic movement and transfers, with evidence; no guessed `pose_after`. | +| Save/resume manifests | Every promoted checkpoint; League especially | Exact story prerequisites, party, inventory, puzzle state and retry scope. Reloading a save must restore the state the row actually expects. | + +## Suggested first implementation slice + +Implement only `01.01`–`01.04` next: the post-Brock aide, Route 3, Mt. Moon's +required path/fossil choice and arrival in Cerulean. That slice tests the first +new map set, item selection, a required dungeon fight and a one-way descent +without committing to the whole battle/party strategy for Misty onward. + +For each subsequent promotion: resolve symbols against map scripts; split +route-specific trainers into named events; choose party/move/supply policy; +test table dependencies and map replay; validate actual trigger and scene end; +then record a restartable save boundary. Simulation establishes table +consistency, not proof that a controller action completed the story effect. From 7426df430f76a5fef65f9c736dfd3ca6a5356f0c Mon Sep 17 00:00:00 2001 From: dayfine Date: Mon, 2 Nov 2026 13:26:00 -0800 Subject: [PATCH 2/6] Design: full FRLG AutoStory checkpoint list from the 52poke flow Rewrites the post-Brock outline into segments 00-17 (the English walkthrough's 20 parts, segment 00 = Parts 1-3 + Running Shoes), 95 checkpoints with start, steps, end save and the 52poke lines each covers. Italic 52poke lines become named options, off by default; the postgame after the first Hall of Fame is its own section. A coverage table maps every 52poke line to a checkpoint. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01AKYzhrMnPK61XHWEch4a6E --- docs/design/AutoStory-FRLG-FutureEvents.md | 947 ++++++++++++--------- 1 file changed, 564 insertions(+), 383 deletions(-) diff --git a/docs/design/AutoStory-FRLG-FutureEvents.md b/docs/design/AutoStory-FRLG-FutureEvents.md index a61cb85492..24f01ad6e9 100644 --- a/docs/design/AutoStory-FRLG-FutureEvents.md +++ b/docs/design/AutoStory-FRLG-FutureEvents.md @@ -1,398 +1,579 @@ -# FRLG AutoStory: draft events after Brock +# FRLG AutoStory: the full checkpoint list -Status: **design data / pseudocode only**. These rows are not registered in +Status: **design data only**. Rows after `00.11` are not registered in `story_checkpoints()` and are not executable or console-validated. -Continue the structure of `SerialPrograms/Source/VideoGames/PokemonFRLG/Programs/AutoStory/PokemonFRLG_AutoStoryTable.cpp` -(fork #120, frlg/autostory-mvp). The implemented table ends at `00.09`, in Pewter Gym after Brock -(00.07 Viridian shopping into the forest, 00.08 forest to the Pewter Center, 00.09 Brock). Keep those -IDs unchanged. Proposed `01.xx` onward IDs below are editorial grouping, not -a commitment to checkpoint sizes or public selector values. - -The [Bulbapedia walkthrough](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen) -supplies the progression inventory. Ordering choices, checkpoint boundaries, -verification contracts and helper names below are our automation proposals. -This is an original event outline, not a reproduction of the guide's routes. -Resolve coordinates, exact trigger tiles, script conditions, trainer movement -and scene end poses against the decomp and then a live run before conversion. - -Run modes (planned, see the notes branch `autostory/DEMO_PLAN.md`): SPEEDRUN, DEFAULT and SAFE -choose which battles to take, whether to flee wild Pokemon, the heal threshold and what to buy. -Rows below describe DEFAULT; choices a mode would switch should be named in each row when the -row is implemented. - -## How to read and eventually implement the table - -The first target remains FireRed with Squirtle, as in the current MVP. -LeafGreen and other starters need explicit encounter/team profiles; the draft -does not assume the current Bubble-oriented battle logic wins later fights. +This is the checkpoint list for FireRed/LeafGreen AutoStory from a new game to +the end of the Sevii Islands story, plus the optional extras. It is built so +that every line of the 52poke story flow lands somewhere: + +- **52poke** [附录:宝可梦 火红/叶绿流程](https://wiki.52poke.com/wiki/%E9%99%84%E5%BD%95:%E5%AF%B6%E5%8F%AF%E5%A4%A2_%E7%81%AB%E7%B4%85%EF%BC%8F%E8%91%89%E7%B6%A0%E6%B5%81%E7%A8%8B) + (revision of 2026-10-07) is the line list. Each line has an id such as + `开局12` (section + line number, nested lines counted, place-header lines in + 终局 counted too). Lines in *italics* there are optional story; here they are + **named options, off by default**. The coverage table at the end maps every + line to a checkpoint. +- **Segments** are the 20 parts of the page's English version, + [Bulbapedia's walkthrough](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen). + Segment 00 keeps today's numbering and covers Parts 1–3 plus the Running + Shoes; Parts 4–20 become segments 01–17. +- **Exact triggers, tiles and prompts** come from + [pret/pokefirered](https://github.com/pret/pokefirered) `data/maps//map.json` + and `scripts.inc`. Where a row cites a script or tile it was read there; + every other start or end is a symbolic anchor (`@Map.anchor`), not a + coordinate. Resolve anchors against the decomp, then on the console. +- **What a fast route skips** comes from pokeguy's LeafGreen 1:59:34 notes + (`autostory/FRLG_WR_VIDEO_NOTES.md` on `notes/frlg-wr-route`), quoted as + "WR" below. + +## Reading the rows + +Each checkpoint starts from the previous checkpoint's end save, unless its +Start says otherwise, and ends by saving at its End. A row's postcondition (the +badge, item or gate it exists for) must be observed before that save; a +visible destination or a closed dialog is not enough. + +Columns: **ID**, **Title**, **Start** (pose or anchor), **Does** (ordered +steps), **End / save**, **52poke** (lines covered; italic lines in *italics*). +`[opt: name]` marks a step or row that runs only when that option is on. Current table helpers are `route`, `legs`, `step_into`, `talk`, `answer`, -`scene`, `battle`, `ready`, `heal` and `make`. Their current limits matter: - -- `route` and `legs` need actual mapped geometry. An `@anchor` below is a - symbolic location, **not** an existing map point or a fabricated coordinate. -- `battle` currently uses the MVP battle implementation; each named fight - below needs its own readiness and move/party policy. All progression fights - require a win; the tutorial's `may_lose=true` exception does not carry on. -- `ready` covers the MVP's HP/status preparation, not arbitrary PP, level, - matchup, roster or inventory checks. `SHOP` is currently a fixed Viridian - purchase, not a general restocking primitive. -- `scene` is the current MASH step. Item pickup, scripted travel, puzzles, - gifts, field moves and special battle modes must not be implemented as blind - mashing merely because the story describes a cutscene. - -Pseudo-operations shown in capitals are **new requirements**, not existing -`StoryStepKind` values: `VERIFY`, `ITEM`, `TEACH`, `FIELD`, `PARTY`, `PREP`, -`PUZZLE`, `TRAVEL`, `CAPTURE`, `CHOICE`, `SAVE_BOUNDARY` and `STOP_AT`. -`VERIFY` means an observable postcondition; semantic facts such as -`ticket_received` are planning labels, not claims that we can read game RAM -or that a same-named script flag exists. - -Each table row is a candidate checkpoint with ordered subevents. Split long -travel and dungeon rows into bounded, named route/battle events as their maps -are surveyed. Do not guess the unavoidable trainers from a walkthrough's -listing: choose a path, inspect sight lines, then name each fight in its table. - -```text -checkpoint("01.03", "Mt. Moon fossil", start=@MtMoon.safe_entry, - supplies=OBSERVED_AT_START, menu=FULL) { - route("to_fossils", @MtMoon.fossil_approach, fight_wild=EXP_POLICY); - PREP("Miguel", hp_status_pp_and_matchup_policy); - talk("challenge_miguel"); - battle("super_nerd_miguel", pose_after=VALIDATE_ON_CONSOLE, may_lose=false); - CHOICE("fossil", configured_choice); - ITEM("chosen_fossil"); - VERIFY(inventory_contains(chosen_fossil) && exit_lane_open); - route("safe_end", @MtMoon.exit_approach); - SAVE_BOUNDARY(); -} -``` - -In executable form, use the real `StoryPose`, `Supplies`, event parameters and -save mechanism. No new C++ helper or default option is introduced by this file. -The inventory/supplies at future starts are unknown until measured; `{2, 1}` -from Brock must not be copied forward. - -## Proposed progression and dependencies - -Default proposed story order: - -```text -Brock -> Mt. Moon -> Cerulean / Bill / Misty -> S.S. Anne / Cut / Surge - -> Rock Tunnel -> Celadon / Erika / Rocket Hideout / Silph Scope - -> Pokemon Tower / Poke Flute -> Fuchsia / Surf / Strength / Koga - -> Silph Co. / Sabrina -> Cinnabar / Blaine -> Viridian / Giovanni - -> Victory Road -> Elite Four / Champion -> Hall of Fame -``` - -This is one chosen schedule, not a claim that all gyms have a forced order. -In particular, Misty and Bill can be scheduled differently; the schedule below -uses Bill first for progression and experience. Safari before Koga obtains Surf -but does not authorize its field use until the Soul Badge. Silph and Sabrina -can be moved earlier if the chosen battle policy benefits. - -Bill's first Sevii visit is a selectable detour after Blaine. For a first-Hall- -of-Fame target it may be deferred; the postgame gemstone story must first -complete that visit. Optional branches never silently become prerequisites. - -| Capability or state | Producer | Consumers | -|---|---|---| -| S.S. Ticket | Bill restored | S.S. Anne boarding | -| Cut known + Cascade Badge | Captain + party management + Misty | Trees gating routes and gyms | -| Flash known + Boulder Badge | 10 caught species + Route 2 aide + compatible party member | Proposed illuminated Rock Tunnel route; optional if a dark route is validated | -| Silph Scope | Rocket Hideout | Tower ghost identification | -| Poke Flute | Fuji rescued, then spoken to at home | Selected Snorlax roadblock | -| Tea handed to a guard | Celadon Mansion | Saffron access; vending-machine drinks are not the FRLG gate key | -| Bicycle | Fan Club voucher exchanged in Cerulean | Cycling Road alternative; not the coastal default | -| Surf known + Soul Badge | Safari Secret House + Koga | Sea routes, Route 23 and later islands | -| Strength known + Rainbow Badge | Gold Teeth returned + Erika | Victory Road and selected cave puzzles | -| Seven badges | Earlier gyms | Viridian Gym access | -| All eight badges | Giovanni | League checkpoint gates | -| National Pokedex | First Hall of Fame + at least 60 caught species + Oak | Postgame gemstone quest | -| Rainbow Pass | Ruby delivered to Celio | Four through Seven Island | -| Rock Smash known + Marsh Badge | Ember Spa + Sabrina | Optional obstacle routes | -| Waterfall known + Volcano Badge | Icefall Cave + Blaine | Lorelei's Icefall back-cave scene | - -These dependencies summarize the cited chapters below. Field-move acquisition, -learning and badge permission are separate facts and require separate checks. - -## Main story table - -For every row: start from the previous verified safe endpoint; its listed -postcondition must hold before the engine commits the checkpoint's end save. -Every `@anchor` and scene pose remains TBD. A visible destination and a completed -dialog are insufficient when the row's purpose is a badge, item or changed gate. - -### 01 — Pewter to Cerulean - -Sources: [Part 3, after Brock](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_3), -[Part 4, Route 3 / Mt. Moon / Route 4](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_4). - -| ID | Event | Ordered draft steps | Commit only after | -|---|---|---|---| -| 01.01 | Leave Pewter | `ready`/`heal`; `route(@Pewter.east_exit)`; `scene(Oaks_aide)`; receive Running Shoes. | Shoes received; aide scene over; route endpoint known. Continue walking with existing timings; running needs separate calibration. | -| 01.02 | Route 3 and cave staging | `route(Route3)` with selected trainer fights; `route(@Route4.center)`; `heal`; `PREP(MtMoon)`; optional Magikarp purchase. | Healthy party, usable PP, affordable cave supplies, recorded safe save outside Mt. Moon. | -| 01.03 | Traverse Mt. Moon | Route selected 1F/B1F/B2F path; fight required path trainers/Rockets; `PREP(Miguel)`; `battle(Miguel)`; select and collect one fossil. | Selected fossil in inventory; exit path open; exact pose reacquired. Optional chambers and loot are separate branches. | -| 01.04 | Route 4 descent | Exit cave; optional Mega Punch/Kick tutor; route down the one-way ledges to `@Cerulean.center`; `heal`. | Cerulean reached and healed; save after descent. Do not plan a walking return uphill. | - -### 02 — Bill, Misty and the southern exit - -Source: [Part 5](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_5). - -| ID | Event | Ordered draft steps | Commit only after | -|---|---|---|---| -| 02.01 | Cerulean rival | `PREP(rival)`; route to bridge approach trigger; `battle(rival_cerulean)`; finish his return-and-gift scene. | Win; Fame Checker received; rival departure complete. | -| 02.02 | Nugget Bridge | Five individually named trainer battles with bounded healing policy; receive Nugget; battle Rocket recruiter. | All five bridge fights and recruiter resolved; north path usable. | -| 02.03 | Route 25 | Route selected trainer corridor to `@SeaCottage.bill_front`; fight route-specific trainers. | Cottage entered at an observed, stable pose. | -| 02.04 | Restore Bill | `talk(Bill)`; `answer(help,true)`; wait for chamber entry; interact with PC; `scene(separation)`; `talk(Bill)` again. | Bill human; S.S. Ticket received; return route available. | -| 02.05 | Cascade Badge | Return to Cerulean; heal/restock; route selected gym approach; `talk(Misty)`; `battle(Misty)`; finish rewards. | Cascade Badge and TM03 received; exit pose known. Squirtle-only battle assumptions must be replaced first. | -| 02.06 | Burgled house | Verify officer moved; enter house and rear exit; challenge thief; `battle(rocket_thief)`; collect TM28. | Thief resolved; southern passage usable; Dig reward accounted for. | -| 02.07 | Underground Path | Route 5; optional Day Care left disabled; enter north-south Underground Path; emerge on Route 6. | Correct southern exit/map confirmed; no unintended deposited party member. | - -### 03 — Vermilion, Cut and Lt. Surge - -Source: [Part 6](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_6). - -| ID | Event | Ordered draft steps | Commit only after | -|---|---|---|---| -| 03.01 | Route 6 to Vermilion | Route selected trainer path; enter Center; `heal`; `PREP(ship_and_surge)`. | City endpoint known; battle and Cut-user plan recorded. | -| 03.02 | Travel support | Optional `ITEM(VsSeeker)` and Old Rod; obtain Bike Voucher if choosing bike branch. | Each requested gift observed; skipped gifts remain skipped, not inferred present. | -| 03.03 | Board S.S. Anne | Route harbor; ticket check; enter ship; route to selected healing cabin or rival approach. | Boarding accepted; correct ship room and return route known. | -| 03.04 | Ship rival | `PREP(rival_ship)`; route upper-deck trigger; `battle(rival_ss_anne)`; resolve departure dialog. | Win and stable captain approach. | -| 03.05 | Captain's Cut | `talk(captain)`; `scene(backrub)`; receive HM01; `PARTY(compatible_cut_user)`; `TEACH(Cut,explicit_slot)`; leave ship. | Cut actually learned; ship departure scene finished; player at harbor anchor. | -| 03.06 | Reach Surge | `FIELD(Cut,gym_tree)`; enter gym; fight selected trainers; `PUZZLE(two_trash_switches)` with observed resets. | Both locks open in this attempt; no fixed trash-can sequence assumed. | -| 03.07 | Thunder Badge | `PREP(Surge)`; `talk(Surge)`; `battle(Surge)`; finish rewards; return/heal. | Thunder Badge and TM34 received; party usable. Ground coverage or another validated strategy required. | - -### 04 — Flash branch, Rock Tunnel and Celadon - -Sources: [Part 7](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_7), -[Part 8](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_8). - -| ID | Event | Ordered draft steps | Commit only after | -|---|---|---|---| -| 04.01 | Flash preparation branch | If illuminated route selected: `CAPTURE(unique_species_until_10)`; traverse Diglett's Cave to eastern Route 2; Cut access trees; talk to aide; `TEACH(Flash)`. | HM05 received and learned. If declining branch, require a separately validated dark-navigation profile. | -| 04.02 | Return to Cerulean | Route back through cave and Vermilion, then Underground Path; optionally exchange Bike Voucher. | Correct Cerulean anchor; Bicycle only assumed if exchange verified. | -| 04.03 | Routes 9 and 10 | Cut eastern exit tree; route chosen trainer path; heal at Route 10 Center; stage Rock Tunnel. | Cave-entry save and sufficient HP/status/PP supplies. | -| 04.04 | Rock Tunnel | Enter; `FIELD(Flash)` if selected; route floor/ladder anchors; resolve path trainers; exit south. | Correct Route 10 south exit; no inferred shortcut through darkness. | -| 04.05 | Lavender staging | Route to Center; heal/restock. Default skips early Tower ascent so its rival is fought once after the Scope. | Lavender endpoint recorded; Tower progress accurately marked untouched. | -| 04.06 | Celadon access | Route 8; east-west Underground Path; Route 7; enter Celadon Center. | Celadon arrival and safe save; do not attempt Saffron gates before Tea. | - -### 05 — Erika, Rocket Hideout and the Poke Flute - -Sources: [Part 9](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_9), -[Rocket Hideout](https://bulbapedia.bulbagarden.net/wiki/Rocket_Hideout). - -| ID | Event | Ordered draft steps | Commit only after | -|---|---|---|---| -| 05.01 | Celadon services | Obtain Tea from mansion; shop by explicit budget; optional Eevee/stone or battle TMs as roster policy requires. | Tea held; purchases/gifts verified; no accidental move replacement. | -| 05.02 | Rainbow Badge | Cut gym access; route trainers; `PREP(Erika)`; `battle(Erika)`; finish rewards. | Rainbow Badge and TM19; learned Strength will later be usable. | -| 05.03 | Hideout entrance | Battle poster guard; inspect poster switch; enter stairs. | Hidden entrance open and B1F anchor confirmed. | -| 05.04 | Lift Key | Traverse spinners/stairs to B4F northwest; battle key grunt; **talk again**; pick up dropped key. | Lift Key held; not merely grunt beaten. | -| 05.05 | Hideout Giovanni | Return to lift; select B4F; defeat door guards; open boss access; `battle(giovanni_hideout)`; collect Silph Scope. | Scope held; boss scene finished. | -| 05.06 | Saffron gate unlock | Give Tea to a gate guard; traverse Saffron toward Lavender. | Guard admits player; shared gate access established. | -| 05.07 | Tower rival | Enter Tower; `PREP(rival_tower)`; `battle(rival_tower)`; route upper floors. | Rival beaten; named floor anchor. | -| 05.08 | Ghost and rescue | Ascend with healing zone policy; identify/defeat Marowak; fight three upper-floor Rockets; speak to Fuji; complete escort. | Fuji returned home; correct post-escort pose. Ghost is a special encounter, not a capture target. | -| 05.09 | Poke Flute | Speak to Fuji at home; receive flute; prepare southern travel. | Poke Flute held. Rescue alone is not the item postcondition. | - -### 06 — Fuchsia, Safari tools and Koga - -Source: [Part 10](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_10). - -Default route choice is the eastern coastal approach, avoiding a compulsory -Bicycle. The western branch is retained explicitly rather than running both. - -| ID | Event | Ordered draft steps | Commit only after | -|---|---|---|---| -| 06.01 | Choose southern road | East default: Route 12, flute, resolve Snorlax, Routes 13/14/15. West alternative: Bicycle, Route 16 flute/Snorlax, Routes 17/18. | Selected roadblock removed; capture vs defeat policy explicit; no dependency on the unused road. | -| 06.02 | Fuchsia staging | Route selected trainers to Center; heal; budget Safari fee and supplies. | Fuchsia safe save; Cut/party roles and bag space checked. | -| 06.03 | Safari entry | Pay admission; use Safari-specific encounter handling; route Center → Area 1 → Area 2 → Area 3. | Remaining step budget sufficient; normal wild-battle combat/flee handler never used here. | -| 06.04 | Gold Teeth and Surf | Pick up Gold Teeth; enter Secret House; talk for HM03; leave/retire with a known exit. | Both Gold Teeth and HM03 observed; no success from walking near their tiles. | -| 06.05 | Strength and party | Return teeth to Warden; receive HM04; `TEACH(Strength)`; `TEACH(Surf)` to chosen compatible members. | Both moves learned; move-slot choices recorded. Surf still gated by Koga. | -| 06.06 | Soul Badge | Route invisible-wall gym path; fight selected trainers; `PREP(Koga)`; `battle(Koga)`; finish rewards. | Soul Badge and TM06; actual Surf field capability confirmed. | - -### 07 — Silph Co. and Sabrina - -Sources: [Part 11](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_11), -[Silph Co.](https://bulbapedia.bulbagarden.net/wiki/Silph_Co.). - -| ID | Event | Ordered draft steps | Commit only after | +`scene`, `battle`, `ready`, `heal` and `make`. Their limits still hold: + +- `route` and `legs` need mapped geometry; an `@anchor` is not a map point. +- `battle` is the MVP battle; each named fight needs its own readiness and + move/party policy. All progression fights must be won; only the tutorial + fight has `may_lose=true`. +- `ready` covers HP/status, not PP, level, matchup, roster or inventory. + `SHOP` is the fixed Viridian purchase, not a general restock. +- `scene` is the MASH step. Item pickup, scripted travel, puzzles, gifts, + field moves and special battle modes must not be blind mashing. + +Capitalized steps are **new requirements**, not existing `StoryStepKind`s: +`VERIFY`, `ITEM`, `TEACH`, `FIELD`, `PARTY`, `PREP`, `PUZZLE`, `TRAVEL`, +`CAPTURE`, `CHOICE` and `STOP_AT`. `VERIFY` names something observable on +screen; labels like `ticket_received` are planning names, not RAM reads. + +The inventory at future starts is unknown until measured; `{2, 1}` from Brock +must not be copied forward. Split long route and dungeon rows into named route +and battle events once their maps are surveyed; pick a path and inspect sight +lines before naming the trainers a row must fight. + +## Run modes, sections and options + +Run modes (planned, `autostory/DEMO_PLAN.md` on the notes branch): SPEEDRUN, +DEFAULT and SAFE choose which battles to take, whether to flee wild Pokemon, +the heal threshold and what to buy. Rows describe DEFAULT. SPEEDRUN would +mostly turn on travel options the WR uses (`bike_voucher`, `fly`, +`south_road=WEST`) and could drop non-italic steps the WR skips, such as +Silph's Master Ball. + +**Sections** follow the story-sections rule (`docs/design/AutoStory-StoryTracks.md` +on `docs/story-tracks`): a section ends where the user must step in. + +| Section | Segments | Ends at | Why the break | |---|---|---|---| -| 07.01 | Saffron services | Return via unlocked gates or verified Fly; heal; optional Psychic TM/Dojo branch; enter Silph. | Silph entry and staging save; no assumed teleport unlocks. | -| 07.02 | Card Key | Route to fifth-floor key corridor; fight selected guards/scientists; pick up Card Key. | Key held; door-opening behavior tested. | -| 07.03 | Rival access | Return to third-floor central room; open key door; use mapped warp to seventh-floor rival room. | Arrival floor/room verified; not just a screen fade. | -| 07.04 | Silph rival | `PREP(rival_silph)`; `battle(rival_silph)`; optional Lapras gift with party space; restore party readiness. | Rival beaten; requested Lapras received; onward warp usable. | -| 07.05 | Silph Giovanni | Warp to 11F; resolve guard and locked access; `PREP(giovanni_silph)`; `battle(giovanni_silph)`. | Boss leaves; occupation-ending scene complete. | -| 07.06 | President and city | Talk to President for Master Ball; exit; confirm gym obstruction removed. | Master Ball accounted for; Saffron Gym accessible. | -| 07.07 | Marsh Badge | Follow mapped gym teleport sequence; `PREP(Sabrina)`; `battle(Sabrina)`; finish rewards. | Marsh Badge and TM04; gym exit pose established. | +| Main story | 00–14 | `14.07`, first Hall of Fame | The National Pokedex (`15.01`) needs 60 caught species; collecting them is the user's job (or a separate program) | +| Postgame | (11 if deferred), 15–16, optional 17 | `16.03`, network machine complete | — | -### 08 — Cinnabar and Blaine +Postgame rows assume the first Hall of Fame. `15.01` checks its precondition +(post-HoF save, 60 caught) at the start and stops with a clear message before +saving anything. -Sources: [Part 12, sea approach](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_12), -[Part 13, Cinnabar](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_13). +### Options -The proposed default returns to Pallet and Surfs south on Route 21; this is -our scheduling choice. The walkthrough's Route 19/20/Seafoam approach is an -alternative branch with its own Strength/current puzzle, listed later. +All default off. Each one names what it adds. Choices with two values have a +default value instead. -| ID | Event | Ordered draft steps | Commit only after | +| Option | Adds | Where | 52poke | |---|---|---|---| -| 08.01 | Sea preparation | Return to Pallet using verified travel; heal; verify Surf user, permission and sea-route battle policy. | Known shore entry pose and usable party. | -| 08.02 | Reach Cinnabar | Surf Route 21; handle chosen trainer/encounter path; land at Cinnabar; heal. | Landed at correct island Center and saved. | -| 08.03 | Mansion entry | Enter Mansion; traverse mapped stairs/statue switches to upper-floor drop approach. | Correct switch state and drop alignment; route cannot treat closed doors as ordinary floor. | -| 08.04 | Secret Key | Take validated drop; descend basement; solve remaining switch/door sequence; collect Secret Key; exit. | Key held; player outside Mansion at known pose. | -| 08.05 | Gym rooms | Unlock gym; solve each quiz terminal or explicitly fight its trainer; verify each door. | Blaine approach reachable; answer policy tied to actual question, not repeated YES. | -| 08.06 | Volcano Badge | `PREP(Blaine)`; `battle(Blaine)`; finish rewards; exit to Bill's invitation. | Volcano Badge and TM38; invitation recognized without accidental acceptance. | -| 08.07 | Bill branch decision | First-Hall-of-Fame default: decline and record deferred visit. If first-islands target selected: run branch `S1` below. | Either free control on Cinnabar or S1 completed; correct branch state saved. | +| `player_name`, `sid_helper_handoff`, `starter_rng_handoff` | Reserved for the segment-00 work in progress (player-name setting; stop at the naming screen before OK for SID Helper and resume after it; split `00.04` to save under the ball for Starter RNG). Not designed here. | 00 | — | +| `town_map` | Daisy's Town Map in the rival's house | 00.06 | *开局10* | +| `route22_rival_early` | Optional first Route 22 rival battle | 00.07 | *开局12* | +| `magikarp` | Buy the Magikarp at the Route 4 Center | 01.01 | *开局17* | +| `vs_seeker` | Vs. Seeker from the girl in Vermilion Center | 03.02 | *中局4* | +| `bike_voucher` | Fan Club voucher; exchange for the Bicycle in Cerulean | 03.02, 04.02 | *中局5* | +| `old_rod` | Old Rod from the Fishing Guru's house | 03.02 | *中局6* | +| `flash` | Diglett's Cave → Route 2 aide → HM05 Flash (10 caught) | 04.01, 05.01 | *中局12* | +| `old_amber` | Pewter Museum side door (Cut) → Old Amber | 04.01 | not on 52poke | +| `early_tower` | Pokemon Tower before Celadon: 2F rival, ghosts on 3F | 05.02 | *中局15*, *中局16* | +| `coin_case` | Coin Case from the man in the Celadon restaurant | 06.01 | *中局19* | +| `eevee` | Eevee from the Celadon Mansion rooftop room | 06.01 | *中局23* | +| `fly` | HM02 Fly from the Route 16 house; enables Fly travel | 07.01 | *中局37* | +| `south_road` = **EAST** \| WEST | Which Snorlax road reaches Fuchsia. One is required. | 07.02–07.04 | *中局31*, *中局36* | +| `super_rod` | Super Rod from the Route 12 fishing brothers | 07.03 | *中局32* | +| `itemfinder` | Itemfinder from the Route 11 gate aide (30 caught) | 07.03 | *中局33* | +| `exp_share` | Exp. Share from the Route 15 gate aide (50 caught) | 07.03 | *中局35* | +| `amulet_coin` | Amulet Coin from the Route 16 gate aide (40 caught) | 07.04 | *中局38* | +| `good_rod` | Good Rod from the Fishing Guru's brother in Fuchsia | 07.07 | *中局43* | +| `dojo_gift` | Fighting Dojo: Karate King, then Hitmonlee or Hitmonchan | 08.02 | *终局7* | +| `lapras_gift` | Lapras from the Silph 7F employee after the rival | 08.04 | *终局9* (italic half) | +| `cinnabar_approach` = **ROUTE21** \| SEAFOAM | Reach Cinnabar by Pallet + Route 21, or by Routes 19/20 and Seafoam | 09.01 / 09.02 | *中局44* | +| `articuno` | Stop and save before Articuno; capture only if asked (needs SEAFOAM) | 09.02 | *终局4*, *终局5* | +| `fossil_revival` | Revive the Mt. Moon fossil (and Old Amber) at the Cinnabar Lab | 10.01 | *终局13* | +| `sevii_before_league` | Accept Bill on Cinnabar and play segment 11 before Giovanni. Off: decline; segment 11 runs at the start of the postgame. | 10.03 | *终局16* | +| `zapdos` | Power Plant: stop and save before Zapdos; capture only if asked (needs `fly`) | 12.02 | *终局1*–*终局3* | +| `rock_smash` | HM06 from the old man at Ember Spa | 15.03 | *七之岛5* | +| `moltres` | Mt. Ember summit: stop and save before Moltres | 15.03 | *七之岛6* | +| `four_island_daycare` | Leave Pokemon at the Four Island Day Care | 15.05 | *七之岛10* | +| `water_labyrinth_egg` | Egg from the old man at Water Labyrinth | 16.01 | *七之岛16* | +| `selphy` | Lost Cave: rescue Selphy; show her the asked-for Pokemon | 16.01 | *七之岛17* | +| `tanoby_unown` | Seven Island: Sevault Canyon, Tanoby Key, unlock the Unown chambers | 17.04 | *剧情后1* | +| `mewtwo` | Cerulean Cave: stop and save before Mewtwo | 17.01 | *剧情后2* | +| `roaming_beast` | Bounded search for the starter-dependent beast (Squirtle: Raikou) | 17.03 | *剧情后3* | +| `league_rematch` | Elite Four round 2 | 17.02 | not on 52poke | +| `navel_rock`, `birth_island` | **Unsupported**: need event tickets (MysticTicket, AuroraTicket) | — | *剧情后4*, *剧情后5* | +| `diploma` | Diploma from Game Freak, Celadon Mansion 3F; needs a completed Pokedex. **Unsupported** until a dex-completion program exists. | — | *剧情后6* | + +Italic lines that sit on the default path anyway: one of *中局31*/*中局36* (a +Snorlax must be passed), one half of *中局44* (some route to Cinnabar), and +*终局34* (Route 21 north; italic because Fly replaces it). + +## Main story + +### Segment 00 — New game to the Running Shoes (Parts 1–3) + +Implemented in #120 (`frlg/autostory-mvp`, +`PokemonFRLG_AutoStoryTable.cpp`); poses below are that table's. The reserved +rows from the segment-00 work in progress (SID Helper resume point, Starter +RNG split of `00.04`) get their ids in that PR. + +| ID | Title | Start | Does | End / save | 52poke | +|---|---|---|---|---|---| +| 00.01 | New game to the bedroom | title screen | Intro, player and rival names `[opt: player_name, sid_helper_handoff]` | bedroom (6,6) N | 开局1 | +| 00.02 | Bedroom to Pallet Town | BEDROOM (6,6) N | Downstairs, out of the house | PALLET (6,8) S | 开局2 | +| 00.03 | Oak stops the player | PALLET (6,8) S | North-exit trigger; Oak escorts to the lab | LAB (6,4) N | 开局2 | +| 00.04 | Squirtle, then the rival's battle | LAB (6,4) N | Pick the starter; rival picks the counter; tutorial battle (`may_lose`) `[opt: starter_rng_handoff]` | LAB (7,8) S | 开局3, 开局4, 开局5 | +| 00.05 | Route 1 to Viridian Mart | LAB (7,8) S | Route 1 north; Mart clerk gives Oak's Parcel | VIRIDIAN_MART (4,3) W | 开局6, 开局7 | +| 00.06 | Parcel to the Pokedex | VIRIDIAN_MART (4,3) W | Back to Pallet; deliver Parcel; Pokedex and balls `[opt: town_map — rival's house, Daisy]` | LAB (6,4) S | 开局8, 开局9, *开局10* | +| 00.07 | Viridian shopping, into the forest | LAB (6,4) S | Route 1 north; shop; old man; Route 2 west into Viridian Forest `[opt: route22_rival_early — Route 22 battle before Route 2]` | FOREST (29,62) N | 开局11, *开局12*, 开局13 | +| 00.08 | Forest to Pewter Center | FOREST (29,62) N | Forest trainers in path; Pewter Center heal | PEWTER_CENTER (7,4) N | 开局13 | +| 00.09 | Camper Liam, then Brock | PEWTER_CENTER (7,4) N | Gym; Liam; Brock → Boulder Badge | GYM (6,6) N | 开局14 | +| 00.10 | The Running Shoes | GYM (6,6) N | Route 3 entrance trigger; Oak's aide gives Running Shoes | PEWTER (46,21) N | 开局15 | +| 00.11 | A run to a wall | PEWTER (46,21) N | Timing run for running calibration (lab row) | — | — | + +### Segment 01 — Route 3, Mt. Moon, Route 4 (Part 4) + +| ID | Title | Start | Does | End / save | 52poke | +|---|---|---|---|---|---| +| 01.01 | Route 3 to the Mt. Moon Center | PEWTER (46,21) N | `ready`; Route 3 trainers on the chosen path; Route 4 Center `heal` `[opt: magikarp]` | `@Route4.center_counter` | 开局16, *开局17* | +| 01.02 | Mt. Moon to the fossils | `@Route4.center_counter` | `route` 1F→B1F→B2F; Rockets on the path; `PREP(Miguel)`; `battle(super_nerd_miguel)`; `CHOICE(fossil)` (Dome \| Helix, setting); `ITEM` | `@MtMoonB2F.fossil_room` | 开局18 | +| 01.03 | Exit Mt. Moon to Cerulean | `@MtMoonB2F.fossil_room` | Exit east; Route 4 one-way ledges; Cerulean Center `heal`. Never plan a walk back uphill. | `@Cerulean.center_counter` | 开局19 | + +### Segment 02 — Cerulean, Routes 24/25, Route 5, Underground Path (Part 5) + +Order follows 52poke (Misty first). Swapping Misty after Bill for experience is +a schedule change, not an option. + +| ID | Title | Start | Does | End / save | 52poke | +|---|---|---|---|---|---| +| 02.01 | Cascade Badge | `@Cerulean.center_counter` | Gym trainers on the path; `PREP(Misty)`; `battle(Misty)`; Cascade Badge, TM03; back to the Center | `@Cerulean.center_counter` | 开局20 | +| 02.02 | Rival at the bridge | `@Cerulean.center_counter` | North to the Route 24 trigger; `battle(rival_cerulean)`; Fame Checker | `@Route24.bridge_south` | 开局21 | +| 02.03 | Nugget Bridge | `@Route24.bridge_south` | Five bridge trainers, each named; Nugget; `battle(rocket_recruiter)` | `@Route24.bridge_north` | 开局22 | +| 02.04 | Route 25 to Sea Cottage | `@Route24.bridge_north` | Route 24 grass and Route 25 trainers on the chosen path; enter the cottage | `@SeaCottage.door` | 开局23 | +| 02.05 | Restore Bill | `@SeaCottage.door` | `talk(Bill)`; `answer(help, YES)`; PC; separation `scene`; `talk(Bill)`; `VERIFY(SS_Ticket)` | `@SeaCottage.door` | 开局24 | +| 02.06 | Back to Cerulean | `@SeaCottage.door` | Routes 25 and 24 south; Center `heal` | `@Cerulean.center_counter` | 开局25 | +| 02.07 | The burgled house | `@Cerulean.center_counter` | Officer has moved (after the ticket); through the house to the back yard; `battle(rocket_thief)`; TM28 | `@Cerulean.house_backyard` | 中局1 | +| 02.08 | Route 5 and the Underground Path | `@Cerulean.house_backyard` | Route 5 south (the Saffron gate guard turns the player back; the route does not touch it); Underground Path to Route 6 | `@Route6.underground_exit` | 中局2, 中局3 | + +### Segment 03 — Route 6, Vermilion, S.S. Anne, Vermilion Gym (Part 6) + +| ID | Title | Start | Does | End / save | 52poke | +|---|---|---|---|---|---| +| 03.01 | Route 6 to Vermilion | `@Route6.underground_exit` | Route 6 trainers on the path; Vermilion Center `heal` | `@Vermilion.center_counter` | 中局3 | +| 03.02 | To the harbor | `@Vermilion.center_counter` | `[opt: vs_seeker]` girl in the Center; `[opt: bike_voucher]` Fan Club chairman; `[opt: old_rod]` Fishing Guru; harbor ticket check; board | `@SSAnne.1F_entry` | *中局4*, *中局5*, *中局6*, 中局7, 中局8 | +| 03.03 | Ship rival | `@SSAnne.1F_entry` | Route to the captain's deck; `PREP(rival_ship)`; `battle(rival_ss_anne)` | `@SSAnne.captain_hall` | 中局9 | +| 03.04 | Captain's Cut | `@SSAnne.captain_hall` | `talk(captain)`; back-rub `scene`; HM01; leave; ship departs; `PARTY(cut_user)`; `TEACH(Cut, slot)`. Squirtle can't learn Cut: needs a caught Cut user (WR: Rattata from Route 1). | `@Vermilion.center_counter` | 中局10 | +| 03.05 | Surge's switches | `@Vermilion.center_counter` | `FIELD(Cut, gym_tree)`; gym trainers on the path; `PUZZLE(two_trash_switches)` read from the screen, bounded attempts | `@VermilionGym.surge_front` | 中局11 | +| 03.06 | Thunder Badge | `@VermilionGym.surge_front` | `PREP(Surge)` (needs a Ground or other validated plan); `battle(Surge)`; Thunder Badge, TM34; Center `heal` | `@Vermilion.center_counter` | 中局11 | + +### Segment 04 — Route 11, Diglett's Cave, Route 2 east, Museum, Routes 9/10 (Part 7) + +Default skips Flash and walks Rock Tunnel dark, as the WR does. + +| ID | Title | Start | Does | End / save | 52poke | +|---|---|---|---|---|---| +| 04.01 | `[opt: flash]` Diglett's Cave to HM05 | `@Vermilion.center_counter` | Route 11; Diglett's Cave; Route 2 east gate aide (needs 10 caught: `CAPTURE` until met); `TEACH(Flash)`; `[opt: old_amber]` museum side door via Cut; back through the cave | `@Vermilion.center_counter` | *中局12* | +| 04.02 | Back to Cerulean | `@Vermilion.center_counter` | Route 6; Underground Path; Route 5; `[opt: bike_voucher]` Bike Shop exchange; Center `heal` | `@Cerulean.center_counter` | 中局13 | +| 04.03 | Routes 9 and 10 | `@Cerulean.center_counter` | Cut the east tree; Route 9 trainers on the path; Route 10 Center `heal` | `@Route10.center_counter` | 中局13 | + +### Segment 05 — Rock Tunnel, Route 10 south, Lavender, Route 8, Underground Path, Route 7 (Part 8) + +| ID | Title | Start | Does | End / save | 52poke | +|---|---|---|---|---|---| +| 05.01 | Rock Tunnel to Lavender | `@Route10.center_counter` | Rock Tunnel floors and ladders, dark (or `FIELD(Flash)` with `[opt: flash]`); path trainers; Route 10 south; Lavender Center `heal`. Hears Fuji is missing; does not enter the Tower. | `@Lavender.center_counter` | 中局13, 中局14 | +| 05.02 | `[opt: early_tower]` Tower 2F rival | `@Lavender.center_counter` | Enter the Tower; 2F rival trigger (decomp `PokemonTower_2F` coord events (17,5), (16,6)); `battle(rival_tower)`; 3F ghosts can't be fought without the Scope: flee | `@Lavender.center_counter` | 中局14, *中局15*, *中局16* | +| 05.03 | West to Celadon | `@Lavender.center_counter` | Route 8; Underground Path (7–8); Route 7; Celadon Center. No Saffron gate before the Tea. | `@Celadon.center_counter` | 中局17 | + +### Segment 06 — Celadon, Celadon Gym, Rocket Hideout, Pokemon Tower (Part 9) + +| ID | Title | Start | Does | End / save | 52poke | +|---|---|---|---|---|---| +| 06.01 | Celadon services | `@Celadon.center_counter` | Mansion 1F old lady: Tea; Dept. Store by budget `[opt: coin_case]` `[opt: eevee]` | `@Celadon.center_counter` | *中局19*, *中局23*, 中局24 | +| 06.02 | Rainbow Badge | `@Celadon.center_counter` | Cut the gym tree; gym trainers on the path; `PREP(Erika)`; `battle(Erika)`; Rainbow Badge, TM19 | `@Celadon.center_counter` | 中局18 | +| 06.03 | Hideout entrance | `@Celadon.center_counter` | Game Corner; `battle(poster_grunt)`; press the poster switch; stairs | `@RocketHideoutB1F.stairs` | 中局20 | +| 06.04 | Lift Key | `@RocketHideoutB1F.stairs` | Spinner floors to B4F northwest room; `battle(key_grunt)`; **talk again**; pick up the Lift Key | `@RocketHideoutB4F.key_room` | 中局21 | +| 06.05 | Hideout Giovanni | `@RocketHideoutB4F.key_room` | Lift to B4F; door guards; `PREP(giovanni_hideout)`; `battle(giovanni_hideout)`; Silph Scope | `@Celadon.center_counter` | 中局22 | +| 06.06 | Tea and back to Lavender | `@Celadon.center_counter` | Route 7 gate: guard takes the Tea; through Saffron; Route 8 gate; Lavender Center | `@Lavender.center_counter` | 中局25, 中局26 | +| 06.07 | Tower rival and ascent | `@Lavender.center_counter` | Tower; 2F rival (skipped if `early_tower` won it); 3F–5F with the healing zone | `@PokemonTower5F.stairs_up` | 中局15 (if not early) | +| 06.08 | Marowak | `@PokemonTower5F.stairs_up` | 6F: Scope reveals Marowak; `battle(marowak_ghost)` — can't be caught | `@PokemonTower6F.stairs_up` | 中局27 | +| 06.09 | Fuji's rescue | `@PokemonTower6F.stairs_up` | 7F: three Rockets; Fuji; escort home | `@FujiHouse.fuji_front` | 中局28 | +| 06.10 | Poke Flute | `@FujiHouse.fuji_front` | `talk(Fuji)`; Poke Flute; Center `heal` | `@Lavender.center_counter` | 中局29 | + +### Segment 07 — Routes 12–18, Fuchsia, Fuchsia Gym, Safari Zone (Part 10) + +`south_road` picks one Snorlax; the other road is never run. + +| ID | Title | Start | Does | End / save | 52poke | +|---|---|---|---|---|---| +| 07.01 | `[opt: fly]` HM02 Fly | `@Lavender.center_counter` | Through Saffron to Celadon; Route 16 north via Cut (no Snorlax); house: HM02; `TEACH(Fly)`; `FIELD(Fly, Lavender)` | `@Lavender.center_counter` | *中局37* | +| 07.02 | EAST: Route 12 Snorlax | `@Lavender.center_counter` | Route 12; flute; `battle(snorlax)` by policy (flee \| defeat \| capture) | `@Route12.snorlax_tile` | 中局30, *中局31* | +| 07.03 | EAST: Routes 12–15 to Fuchsia | `@Route12.snorlax_tile` | Routes 12, 13, 14, 15 trainers on the path `[opt: super_rod]` `[opt: itemfinder]` `[opt: exp_share]`; Fuchsia Center | `@Fuchsia.center_counter` | *中局32*, *中局33*, 中局34, *中局35* | +| 07.04 | WEST: Cycling Road to Fuchsia | `@Lavender.center_counter` | Needs `bike_voucher`. To Celadon; Route 16 flute and Snorlax; `[opt: amulet_coin]`; Cycling Road (17) downhill; Route 18; Fuchsia Center | `@Fuchsia.center_counter` | *中局36*, *中局38*, 中局39 | +| 07.05 | Soul Badge | `@Fuchsia.center_counter` | Invisible-wall gym path; trainers on it; `PREP(Koga)`; `battle(Koga)`; Soul Badge, TM06 | `@Fuchsia.center_counter` | 中局40 | +| 07.06 | Safari: Gold Teeth and Surf | `@Fuchsia.center_counter` | Pay; Safari encounter mode (never the normal battle handler); Areas 1→3; Gold Teeth; Secret House: HM03; leave by a known exit | `@Fuchsia.center_counter` | 中局41, 中局42 | +| 07.07 | Strength, party | `@Fuchsia.center_counter` | Warden: teeth → HM04; `TEACH(Strength)`, `TEACH(Surf)` to chosen members `[opt: good_rod]` | `@Fuchsia.center_counter` | 中局41, *中局43* | + +### Segment 08 — Saffron, Silph Co., Fighting Dojo, Saffron Gym (Part 11) + +| ID | Title | Start | Does | End / save | 52poke | +|---|---|---|---|---|---| +| 08.01 | To Saffron | `@Fuchsia.center_counter` | Back the way `south_road` came (or `FIELD(Fly)`); Saffron Center | `@Saffron.center_counter` | 终局6 | +| 08.02 | `[opt: dojo_gift]` Fighting Dojo | `@Saffron.center_counter` | Dojo trainers; Karate King; `CHOICE(hitmonlee \| hitmonchan)` | `@Saffron.center_counter` | *终局7* | +| 08.03 | Card Key | `@Saffron.center_counter` | Silph to 5F; key corridor; Card Key | `@Silph5F.card_key` | 终局8 | +| 08.04 | Silph rival | `@Silph5F.card_key` | 3F middle room door; warp to 7F; `PREP(rival_silph)`; `battle(rival_silph)` `[opt: lapras_gift]` | `@Silph7F.rival_room` | 终局9 | +| 08.05 | Silph Giovanni | `@Silph7F.rival_room` | Warp to 11F; `PREP(giovanni_silph)`; `battle(giovanni_silph)`; President: Master Ball (WR skips; SPEEDRUN may too) | `@Saffron.center_counter` | 终局10 | +| 08.06 | Marsh Badge | `@Saffron.center_counter` | Gym warp sequence; `PREP(Sabrina)`; `battle(Sabrina)`; Marsh Badge, TM04 | `@Saffron.center_counter` | 终局11 | + +### Segment 09 — Routes 19/20, Seafoam Islands (Part 12) + +`cinnabar_approach` picks one row. ROUTE21 is the default: no current or +boulder puzzle, and it is the WR's road. + +| ID | Title | Start | Does | End / save | 52poke | +|---|---|---|---|---|---| +| 09.01 | ROUTE21: Pallet and Route 21 | `@Saffron.center_counter` | To Pallet (walk via Vermilion, Diglett's Cave and Route 2, or `FIELD(Fly)`); `FIELD(Surf)` south on Route 21; Cinnabar Center | `@Cinnabar.center_counter` | *中局44* (second half), 终局12 | +| 09.02 | SEAFOAM: Routes 19/20 and Seafoam | `@Saffron.center_counter` | To Fuchsia; Surf Routes 19, 20 east; Seafoam floors with Strength boulders and currents `[opt: articuno — STOP_AT before Articuno]`; Route 20 west; Cinnabar Center | `@Cinnabar.center_counter` | *中局44* (first half), *终局4*, *终局5*, 终局12 | + +### Segment 10 — Cinnabar Island, Pokemon Lab, Mansion, Cinnabar Gym (Part 13) + +| ID | Title | Start | Does | End / save | 52poke | +|---|---|---|---|---|---| +| 10.01 | Secret Key | `@Cinnabar.center_counter` | `[opt: fossil_revival]` hand the fossil to the Lab first; Mansion stairs and statue switches; drop to B1F; Secret Key | `@Cinnabar.center_counter` | *终局13*, 终局14 | +| 10.02 | Volcano Badge | `@Cinnabar.center_counter` | Unlock the gym; each quiz answered from the question read, or its trainer fought; `PREP(Blaine)`; `battle(Blaine)`; Volcano Badge, TM38 | `@CinnabarGym.door` | 终局15 | +| 10.03 | Bill's invitation | `@CinnabarGym.door` | Bill's scene fires outside (`CinnabarIsland_EventScript_BillScene`, YES/NO `ComeWithMeToOneIsland`). `answer(NO)` by default → Bill waits in the Center; `answer(YES)` with `[opt: sevii_before_league]` → segment 11 | `@Cinnabar.center_counter` (NO) / `@OneIsland.harbor` (YES) | *终局16* | + +### Segment 11 — Sevii Islands I: One, Two, Three Island (Part 14) + +Runs here only with `sevii_before_league`; otherwise the same rows run at the +start of the postgame (its first start is Bill in the Cinnabar Center, who +takes the player when spoken to). Required before `15.02` either way. + +| ID | Title | Start | Does | End / save | 52poke | +|---|---|---|---|---|---| +| 11.01 | One Island | `@OneIsland.harbor` (or `@Cinnabar.center_counter`, talk to Bill) | Ferry; Center scene (`OneIsland_PokemonCenter_1F`): Meteorite, Tri-Pass, then the Town Map if the rival's-house scene var is below 2 (else an extra map page), Sevii map. PC storage is off from here (`FLAG_SYS_PC_STORAGE_DISABLED`). | `@OneIsland.center_counter` | 终局17, 终局18, 终局19, 终局21, 终局22 | +| 11.02 | Two Island request | `@OneIsland.center_counter` | `TRAVEL(ferry, TwoIsland)`; Game Corner owner: Lostelle is missing | `@TwoIsland.center_counter` | 终局20, 终局23, 终局24 | +| 11.03 | Berry Forest rescue | `@TwoIsland.center_counter` | Ferry to Three Island; biker fights, each named; Bond Bridge; Berry Forest; `battle(hypno)` by policy; Lostelle; automatic return to Two Island | `@TwoIsland.game_corner` | 终局25, 终局26, 终局27 | +| 11.04 | Meteorite, back to Cinnabar | `@TwoIsland.game_corner` | `talk(father)`: Meteorite → Moon Stone; ferry to One Island; `talk(Bill)` → Cinnabar | `@Cinnabar.center_counter` | 终局28–终局32 | + +### Segment 12 — Route 21, Power Plant, Viridian Gym (Part 15) + +| ID | Title | Start | Does | End / save | 52poke | +|---|---|---|---|---|---| +| 12.01 | North to Viridian | `@Cinnabar.center_counter` | `FIELD(Surf)` north on Route 21 (or `FIELD(Fly)`); Pallet; Route 1; Viridian Center | `@Viridian.center_counter` | 终局33, *终局34*, 终局35 | +| 12.02 | `[opt: zapdos]` Power Plant | `@Viridian.center_counter` | Needs `fly`. Fly to Route 10 Center; Surf to the Plant; item balls vs Voltorb/Electrode; `STOP_AT(Zapdos)`; capture only if asked; Fly back | `@Viridian.center_counter` | *终局1*, *终局2*, *终局3* | +| 12.03 | Earth Badge | `@Viridian.center_counter` | Gym (seven badges); spinner path; trainers on it; `PREP(giovanni_gym)`; `battle(Giovanni)`; Earth Badge, TM26 | `@Viridian.center_counter` | 终局36 | + +### Segment 13 — Route 22, Route 23, Victory Road (Part 16) + +| ID | Title | Start | Does | End / save | 52poke | +|---|---|---|---|---|---| +| 13.01 | Route 22 rival | `@Viridian.center_counter` | West to the trigger; `PREP(rival_route22)`; `battle(rival_route22)` | `@Route22.gate_door` | 终局37 | +| 13.02 | Badge gates | `@Route22.gate_door` | League gate; Route 23 badge checks in order; Surf the water section | `@VictoryRoad1F.entry` | 终局38 | +| 13.03 | Victory Road 1F | `@VictoryRoad1F.entry` | `FIELD(Strength)`; first boulder onto its switch; `VERIFY(barrier_gone)` | `@VictoryRoad2F.entry` | 终局38 | +| 13.04 | Victory Road 2F–3F | `@VictoryRoad2F.entry` | 2F and 3F switches; drop boulder and follow it; last switch; trainers on the path; exit; Route 23 north | `@IndigoPlateau.center_counter` | 终局38, 终局39 | + +### Segment 14 — Indigo Plateau (Part 17) + +League rooms are event boundaries, **not automatically safe reload points**. +Choose a save policy first: replay from `14.01`'s save, or save in a room with +its exact remaining resources recorded. + +| ID | Title | Start | Does | End / save | 52poke | +|---|---|---|---|---|---| +| 14.01 | League staging | `@IndigoPlateau.center_counter` | `heal`; shop; `PREP(full_league)`: team, levels, PP, healing and revive budget, coverage | `@IndigoPlateau.center_counter` | 终局39 | +| 14.02 | Lorelei | `@IndigoPlateau.center_counter` | Enter; `battle(Lorelei)` with carried items only | `@Lorelei.exit_door` | 终局40 | +| 14.03 | Bruno | `@Lorelei.exit_door` | Restore with carried items; `battle(Bruno)` | `@Bruno.exit_door` | 终局40 | +| 14.04 | Agatha | `@Bruno.exit_door` | `battle(Agatha)` with a status/confusion policy | `@Agatha.exit_door` | 终局40 | +| 14.05 | Lance | `@Agatha.exit_door` | `battle(Lance)`; last preparation before the Champion trigger | `@Lance.exit_door` | 终局40 | +| 14.06 | Champion | `@Lance.exit_door` | Automatic trigger; `battle(champion_rival, starter_profile)`; Oak and rival aftermath | Hall of Fame room | 终局41 | +| 14.07 | Hall of Fame | Hall of Fame room | Register the team; credits; continue from the game's own save; observe the pose | post-HoF pose, saved | 终局41 | + +**End of the main-story section.** + +## Postgame (after the first Hall of Fame) + +Starts after a break: the user brings the save to 60 caught species. If +`sevii_before_league` was off, segment 11 runs first. + +### Segment 15 — Sevii Islands II: Ruby, Four Island, Six Island (Part 18) + +| ID | Title | Start | Does | End / save | 52poke | +|---|---|---|---|---|---| +| 15.01 | National Pokedex | post-HoF pose | Check: post-HoF save, 60 caught (seen is not caught), segment 11 done; else stop before saving. To Pallet; Oak's upgrade scene | `@Pallet.lab_door` | 七之岛1 | +| 15.02 | Ferry to Celio | `@Pallet.lab_door` | To Vermilion (or Fly); ferry with the Tri-Pass; `talk(Celio)`: Ruby request | `@OneIsland.center_counter` | 七之岛2, 七之岛3 | +| 15.03 | Mt. Ember and the Ruby | `@OneIsland.center_counter` | Kindle Road `[opt: rock_smash — Ember Spa old man]`; Mt. Ember: watch the Rocket password scene; two grunts; Ruby Path floors; Ruby `[opt: moltres — summit, STOP_AT]` | `@OneIsland.center_counter` | 七之岛4, *七之岛5*, *七之岛6*, 七之岛7 | +| 15.04 | Rainbow Pass | `@OneIsland.center_counter` | Give the Ruby; Rainbow Pass; Sapphire request | `@OneIsland.center_counter` | 七之岛8 | +| 15.05 | Icefall Cave, Waterfall | `@OneIsland.center_counter` | Ferry to Four Island `[opt: four_island_daycare]`; Icefall Cave ice and cracked floor; HM07; `TEACH(Waterfall)` | `@FourIsland.center_counter` | 七之岛9, *七之岛10*, 七之岛11, 七之岛12 | +| 15.06 | Lorelei and the Rockets | `@FourIsland.center_counter` | Icefall Cave; `FIELD(Waterfall)`; Back Cave; Lorelei; `battle(rocket)` alongside her | `@FourIsland.center_counter` | 七之岛13 | +| 15.07 | Five Island, warehouse shut | `@FourIsland.center_counter` | Ferry to Five Island; Five Isle Meadow; warehouse door refuses (no password). Kept because 52poke has it; drop if the decomp shows the visit sets nothing the Dotted Hole needs. | `@FiveIsland.center_counter` | 七之岛14, 七之岛15 | +| 15.08 | Dotted Hole | `@FiveIsland.center_counter` | Ferry to Six Island; Water Path; Ruin Valley; Cut the braille door (`FLAG_USED_CUT_ON_RUIN_VALLEY_BRAILLE`); Dotted Hole floors; Gideon takes the Sapphire; second password | `@SixIsland.center_counter` | 七之岛18, 七之岛19, 七之岛20 | + +### Segment 16 — Sevii Islands III: Five Island, Seven Island (Part 19) + +| ID | Title | Start | Does | End / save | 52poke | +|---|---|---|---|---|---| +| 16.01 | Into the warehouse | `@SixIsland.center_counter` | Ferry to Five Island `[opt: water_labyrinth_egg]` `[opt: selphy]`; Five Isle Meadow; both passwords; enter | `@RocketWarehouse.entry` | 七之岛21, *七之岛16*, *七之岛17* | +| 16.02 | Sapphire | `@RocketWarehouse.entry` | Spinner maze; grunts; both Admins; `PREP(Gideon)`; `battle(Gideon)`; Sapphire | `@FiveIsland.center_counter` | 七之岛22 | +| 16.03 | Network complete | `@FiveIsland.center_counter` | Ferry to One Island; give Celio the Sapphire; machine scene. No link trade. | `@OneIsland.center_counter` | 七之岛23, 七之岛24 | + +**End of the postgame section.** Segment 17 is all options. + +### Segment 17 — Cerulean Cave, League round 2 (Part 20) and other extras -### 09 — Eighth badge and Victory Road +| ID | Title | Start | Does | End / save | 52poke | +|---|---|---|---|---|---| +| 17.01 | `[opt: mewtwo]` Cerulean Cave | `@OneIsland.center_counter` | To Cerulean; Surf from Route 24; guard gone; 1F/2F/B1F path; `STOP_AT(Mewtwo)` — the save is before pressing A; capture only if asked | `@CeruleanCaveB1F.mewtwo_front` | *剧情后2* | +| 17.02 | `[opt: league_rematch]` League round 2 | `@IndigoPlateau.center_counter` | Rematch teams; one event per opponent; second Hall of Fame | post-HoF pose | — | +| 17.03 | `[opt: roaming_beast]` Roaming beast | any Center | Bounded search for the starter's beast; keep its one-time state | same Center | *剧情后3* | +| 17.04 | `[opt: tanoby_unown]` Tanoby | `@SevenIsland.center_counter` | Canyon Entrance; Sevault Canyon; Tanoby Key boulders; chambers open | `@SevenIsland.center_counter` | *剧情后1* | + +## Dependencies -Sources: [Part 15](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_15), -[Part 16](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_16). - -| ID | Event | Ordered draft steps | Commit only after | -|---|---|---|---| -| 09.01 | Return to Viridian | Travel north via Route 21/Pallet or validated Fly; heal; verify seven badges and gym entry. | Viridian staging save with gym accessible. | -| 09.02 | Gym spinner path | Route mapped spinner sequence; deliberately trigger trainer movements needed to clear access; fight selected trainers. | Giovanni approach open; moved NPC positions reflected in route state. | -| 09.03 | Earth Badge | `PREP(giovanni_gym)`; challenge/battle; finish reward/departure scene. | Earth Badge and TM26; all eight badges observed. | -| 09.04 | Route 22 rival | Heal/restock; route west trigger; `battle(rival_route22)`. | Win; League approach free; party ready to continue. | -| 09.05 | Badge gates | Traverse reception/Route 23 checks in order; use Surf on the water section; reach Victory Road entry. | All badge checks passed; known cave-entry save. | -| 09.06 | Victory Road 1F | Activate Strength; push first mapped boulder to switch; verify barrier removal; route to next floor. | Correct boulder/switch state and safe floor anchor. | -| 09.07 | Victory Road upper floors | Solve second-floor switch and third-floor switch; resolve selected trainers; push drop boulder and follow it; solve final switch. | Each barrier actually open; state tracked across falls and map reloads. | -| 09.08 | Indigo staging | Exit cave; Route 23 north to Plateau; heal/shop; `PREP(full_league_gauntlet)`. | Team, levels, PP, healing/revival budget and move coverage verified before entering. | - -### 10 — First League and Hall of Fame - -Source: [Part 17](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_17). - -League interior rows are event boundaries, **not automatically safe reload -checkpoints**. Choose an explicit save policy: replay from the pre-League save, -or persist a validated room-specific save and its exact remaining resources. -The existing universal checkpoint save behavior must be reviewed first. - -| ID | Event | Ordered draft steps | Commit only after | -|---|---|---|---| -| 10.01 | Enter League | Verify target is first-round teams; commit pre-League save; enter Lorelei room. | Correct run mode and no unsupported mid-gauntlet reset assumption. | -| 10.02 | Lorelei | `PREP(Lorelei,carried_items_only)`; challenge; `battle(Lorelei)`; handle level/move prompts. | Win; next door open; HP/status/PP reconciled. | -| 10.03 | Bruno | Restore with carried resources; enter/challenge; `battle(Bruno)`. | Win; next door open; surviving roster checked. | -| 10.04 | Agatha | Restore; enter/challenge; `battle(Agatha)` with status/confusion policy. | Win; no unresolved status/menu before next room. | -| 10.05 | Lance | Restore; enter/challenge; `battle(Lance)`. | Win; Champion door open; final preparation performed before crossing trigger. | -| 10.06 | Champion | Enter automatic rival trigger; `battle(champion_rival,starter_profile)`; complete Oak/rival aftermath. | Champion defeated; Hall of Fame sequence actually reached. | -| 10.07 | Hall of Fame and credits | Register team; wait through credits and title/Continue sequence; reacquire postgame control. | Hall of Fame recorded; postgame state/pose confirmed; first-story target stops here. | - -## S1 — First Sevii visit, selectable after Blaine or before postgame quest - -Source: [Part 14](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_14). -This branch is optional for the first League target and required before the -later Celio quest. It must be invoked once, not replayed on every resume. - -| ID | Event | Ordered draft steps | Commit only after | -|---|---|---|---| -| S1.01 | Bill's ferry | Stage party before leaving; accept Bill's invitation; complete One Island Network Center scene. | One Island pose; Tri-Pass and Meteorite received; initial unavailable PC services accounted for. | -| S1.02 | Two Island request | `TRAVEL(ferry,TwoIsland)`; talk to Game Corner owner; learn Lostelle is missing. | Search scene complete; no claim that Meteorite has already been delivered. | -| S1.03 | Three Island bikers | Ferry to Three Island; route to biker confrontation; resolve its battle sequence. | Bikers depart; Bond Bridge route usable. Each fight needs an individual battle boundary. | -| S1.04 | Berry Forest rescue | Route Bond Bridge/forest; talk to Lostelle; resolve Hypno by configured defeat/capture policy; finish escort. | Lostelle safe; automatic transfer to Two Island recognized. | -| S1.05 | Deliver Meteorite | Talk to father after rescue; complete delivery/reward; return to One Island and Bill. | Meteorite delivery complete; Bill/Celio scene returns player to Cinnabar. | -| S1.06 | Optional Ember tools | At an explicit island-travel opportunity: visit Ember Spa for HM06; teach Rock Smash only if requested. | HM06/learned move recorded; return anchor/travel destination explicit. | - -## Postgame progression table - -Target `network_complete` includes P1 and P2. Target `mewtwo_ready` continues -through P3. Capture, rematch and exploration targets remain opt-in branches. - -### P1 — National Pokedex, Ruby and Rainbow Pass - -Source: [Part 18](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_18). - -| ID | Event | Ordered draft steps | Commit only after | -|---|---|---|---| -| P1.01 | National Dex gate | Verify first Hall of Fame; if not already upgraded, require 60 caught species via an explicit bounded collection plan or stop at unmet prerequisite; complete Oak's upgrade scene. | National Pokedex upgrade observed. Seen count is not caught count. | -| P1.02 | Complete first visit | If S1 incomplete, return to Bill and finish S1; travel to One Island; talk to Celio about gemstone. | Initial island story complete; Ruby request active. | -| P1.03 | Mt. Ember entrance | Route Kindle Road to Ember; observe Rocket password scene; battle both guards. | First warehouse password learned; Ruby tunnel accessible. | -| P1.04 | Ruby cave | Traverse mapped floors/Strength puzzle; pick up Ruby; return to Celio. | Ruby delivered; Rainbow Pass received. | -| P1.05 | Icefall tools | Ferry Four Island; enter Icefall Cave; solve cracked-floor/ice path; collect HM07; teach Waterfall; verify field permission. | Waterfall learned and usable; exact entrance-side pose. | -| P1.06 | Lorelei rescue | Climb waterfall; reach Back Cave; speak to Lorelei; battle assigned Rocket; complete interrogation. | Lorelei scene complete; next quest access state updated. | - -### P2 — Sapphire and the Network Machine - -Sources: [Part 18, Six Island](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_18), -[Dotted Hole](https://bulbapedia.bulbagarden.net/wiki/Dotted_Hole), -[Part 19, Five Island](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_19). - -| ID | Event | Ordered draft steps | Commit only after | -|---|---|---|---| -| P2.01 | Six Island | Ferry Six Island; resolve optional rival conversation if encountered; route Water Path south to Ruin Valley. | Dotted Hole approach and correct quest state; do not force entry while story-blocked. | -| P2.02 | Dotted Hole | Use Cut on sealed door; descend mapped hole sequence; approach Sapphire. | Scientist theft scene complete; second warehouse password learned; Sapphire is **not** yet in inventory. | -| P2.03 | Warehouse entry | Ferry Five Island; route Five Isle Meadow; use both learned passwords at warehouse entrance. | Entrance opens; indoor anchor confirmed. | -| P2.04 | Warehouse maze | Follow mapped spinner path; fight path grunts; then resolve female and male Admin battles. | Admin defeat/movement states open scientist route. | -| P2.05 | Reclaim Sapphire | `PREP(Gideon)`; challenge Scientist Gideon; win; receive Sapphire. | Sapphire held; safe exit route. | -| P2.06 | Complete network | Return One Island; give Sapphire to Celio; complete machine scene. | Network quest completion observed; target `network_complete` may stop here. No link trade is attempted. | - -### P3 — Cerulean Cave and optional League rematch - -Source: [Part 20](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_20). - -| ID | Event | Ordered draft steps | Commit only after | -|---|---|---|---| -| P3.01 | Cave access | Return Cerulean; Surf from Route 24; verify guard no longer blocks entrance. | Actual cave entry, not just assumed completion of prerequisites. | -| P3.02 | Mewtwo approach | Traverse mapped 1F/2F/B1F path; prepare Repel/encounter policy; stage at Mewtwo interaction anchor. | Stable pre-encounter save; target `mewtwo_ready` stops without pressing A. | -| P3.03 | Optional Mewtwo capture | Only for capture target: verify capture policy and resources; interact; execute bounded capture; verify roster/PC result. | Mewtwo captured, or explicit failure without overwriting the pre-encounter save. | -| P3.04 | Rematch staging | If requested after network quest: return Plateau; heal/restock; verify upgraded team profile. | Rematch roster/PP/resources ready; separate pre-League save. | -| P3.05 | Rematch battles | Separate events for Lorelei, Bruno, Agatha, Lance and Champion; reconcile resources between each. | Five wins against rematch profiles; not reused first-round assumptions. | -| P3.06 | Second Hall of Fame | Finish registration/credits; return to stable postgame control. | Rematch completion recorded; stop rather than looping indefinitely. | - -## Optional branches and walkthrough coverage - -These are proposed event chains, not implied work for the main-story target. -All permanent gift/capture choices need a selected policy and a checked result. -Ordinary hidden items, full encounter collections and every optional trainer -are not individually enumerated here; selected routes must expand their own -trainer and supply events before implementation. - -| Branch | Gate / source | Draft event chain and completion evidence | +| Capability or state | Made by | Needed by | +|---|---|---| +| S.S. Ticket | 02.05 | 02.07 (officer moves), 03.02 | +| A Cut user + HM01 | caught Pokemon + 03.04 | 03.05, 04.03, 06.02, 07.01, 15.08 | +| Flash (optional) | 04.01, 10 caught | 05.01 lit; default walks dark | +| Silph Scope | 06.05 | 06.08 | +| Tea | 06.01 | 06.06 (Saffron gates) | +| Poke Flute | 06.10 | 07.02 or 07.04 | +| Bicycle | `bike_voucher` | 07.04 (WEST) | +| Surf + Soul Badge | 07.06 + 07.05 | 09.01/09.02, 12.01, 13.02 | +| Strength + Rainbow Badge | 07.07 + 06.02 | 09.02, 13.03–13.04 | +| Fly + Thunder Badge | 07.01 | 12.02, optional shortcuts | +| Seven badges / eight badges | earlier gyms / 12.03 | 12.03 / 13.02 | +| Tri-Pass, first Sevii visit | segment 11 | 15.02 | +| National Pokedex, 60 caught | user + 15.01 | rest of the postgame | +| Rainbow Pass | 15.04 | Four–Seven Island | +| Waterfall + Volcano Badge | 15.05 + 10.02 | 15.06 | + +## Capabilities the list needs + +| Capability | First use | What it must do | +|---|---|---| +| Broader battle/party policy | 02.01 Misty; 03.06 Surge | HP/status/PP, matchups, switching, fainted members, level/evolution/move prompts, trainer vs wild | +| Capture and caught-species count | 03.04 Cut user; 04.01; 15.01 | Bounded balls/encounters, party/PC destination, caught (not seen) count | +| Item and shop interaction | 01.02 fossil; key items | Item identity/quantity, bag space, budget, gifts that may repeat | +| HM/TM learning and field moves | 03.04 Cut | Explicit member and slot; confirm the move and the badge | +| Story-aware map state | Bill, gyms, Rocket occupation | Current objects, triggers and switches, not "remove all post-HoF objects" | +| Forced movement / puzzles | 06.04 spinners; boulders | Spinners, door state, pushed boulders, floor drops, currents, ice | +| Observed puzzle search | 03.05 Surge | Read switch/reset outcomes; bounded attempts | +| Special modes | Safari, ferry, gym teleports | Safari encounters never use the normal battle handler | +| Arrival verification | every dungeon and escort | Map, pose and facing after automatic movement | +| Save/resume manifests | every row; League above all | Story prerequisites, party, inventory, puzzle state | +| Section start checks | 15.01 | Refuse to run on a save that doesn't meet the precondition | + +## First slice to implement + +`01.01`–`01.03`: Route 3, Mt. Moon with Miguel and the fossil, and the descent +to Cerulean. It tests a new map set, an item choice, a required dungeon fight +and a one-way descent without committing to the Misty-onward battle policy. + +For each later promotion: resolve the anchors against `map.json` and +`scripts.inc`; name the route's trainers; choose party, move and supply policy; +test table dependencies and map replay; check the real trigger and scene end on +the console; then record the save boundary. + +## Coverage: every 52poke line + +Line text below is an English gloss, not a quote. Ids count the page's list +lines in order, nested lines included; 终局's place-name header lines are +counted because they are list lines there. *Italic* = optional on 52poke. + +### 开局 (opening) + +| Line | Gloss | Checkpoint | +|---|---|---| +| 开局1 | Name the player and the rival | 00.01 | +| 开局2 | Leave home; Oak takes the player to the lab | 00.02, 00.03 | +| 开局3 | Choose the starter | 00.04 | +| 开局4 | Rival picks the counter | 00.04 | +| 开局5 | Battle the rival | 00.04 | +| 开局6 | Route 1 to Viridian | 00.05 | +| 开局7 | Mart clerk gives the Parcel | 00.05 | +| 开局8 | Back to Pallet | 00.06 | +| 开局9 | Oak gives the Pokedex | 00.06 | +| *开局10* | Daisy gives the Town Map | 00.06 `town_map` | +| 开局11 | Route 1 back to Viridian | 00.07 | +| *开局12* | Route 22 rival battle | 00.07 `route22_rival_early` | +| 开局13 | Route 2 and Viridian Forest to Pewter | 00.07, 00.08 | +| 开局14 | Brock: Boulder Badge | 00.09 | +| 开局15 | Oak's aide: Running Shoes | 00.10 | +| 开局16 | Route 3 to Mt. Moon | 01.01 | +| *开局17* | Magikarp salesman at the Center | 01.01 `magikarp` | +| 开局18 | Miguel; Dome or Helix Fossil | 01.02 | +| 开局19 | Route 4 to Cerulean | 01.03 | +| 开局20 | Misty: Cascade Badge | 02.01 | +| 开局21 | Rival before Route 24; Fame Checker | 02.02 | +| 开局22 | Route 24 trainers; Rocket's Nugget and battle | 02.03 | +| 开局23 | Route 25 to the cape | 02.04 | +| 开局24 | Restore Bill; S.S. Ticket | 02.05 | +| 开局25 | Routes 25 and 24 back to Cerulean | 02.06 | + +### 中局 (middle) + +| Line | Gloss | Checkpoint | +|---|---|---| +| 中局1 | Rocket in the burgled house | 02.07 | +| 中局2 | Route 5; Saffron guard turns the player back | 02.08 | +| 中局3 | Underground Path to Route 6, south to Vermilion | 02.08, 03.01 | +| *中局4* | Vs. Seeker | 03.02 `vs_seeker` | +| *中局5* | Bike Voucher; Bicycle in Cerulean | 03.02, 04.02 `bike_voucher` | +| *中局6* | Old Rod | 03.02 `old_rod` | +| 中局7 | To Vermilion Harbor | 03.02 | +| 中局8 | Board the S.S. Anne | 03.02 | +| 中局9 | Rival before the captain's room | 03.03 | +| 中局10 | Captain: HM01 Cut | 03.04 | +| 中局11 | Surge: Thunder Badge | 03.05, 03.06 | +| *中局12* | Diglett's Cave, Route 2 gate: HM05 Flash (10 caught) | 04.01 `flash` | +| 中局13 | From Cerulean: Route 9, Rock Tunnel, Route 10 to Lavender | 04.02, 04.03, 05.01 | +| 中局14 | Fuji is missing; to the Tower | 05.01 (news), 05.02 / 06.07 (Tower) | +| *中局15* | Tower 2F rival | 05.02 `early_tower`; else 06.07 | +| *中局16* | 3F ghosts can't be attacked | 05.02 `early_tower` | +| 中局17 | Route 8, Underground Path, Route 7 to Celadon | 05.03 | +| 中局18 | Erika: Rainbow Badge | 06.02 | +| *中局19* | Coin Case | 06.01 `coin_case` | +| 中局20 | Poster grunt; switch; Rocket Hideout | 06.03 | +| 中局21 | B4F grunt: Lift Key | 06.04 | +| 中局22 | Giovanni: Silph Scope | 06.05 | +| *中局23* | Eevee on the Mansion roof | 06.01 `eevee` | +| 中局24 | Tea from the Mansion old lady | 06.01 | +| 中局25 | Tea to the Saffron guard | 06.06 | +| 中局26 | Back to Lavender | 06.06 | +| 中局27 | Scope reveals Marowak; can't be caught | 06.08 | +| 中局28 | 7F: three Rockets | 06.09 | +| 中局29 | Fuji: Poke Flute | 06.10 | +| 中局30 | Choose Route 12, Cycling Road or Silph next | 07.02 (`south_road`); Silph is segment 08 | +| *中局31* | Route 12 Snorlax | 07.02 (`south_road=EAST`, default) | +| *中局32* | Super Rod | 07.03 `super_rod` | +| *中局33* | Itemfinder (30 caught) | 07.03 `itemfinder` | +| 中局34 | Routes 13–15 to Fuchsia | 07.03 | +| *中局35* | Exp. Share (50 caught) | 07.03 `exp_share` | +| *中局36* | Route 16 Snorlax | 07.04 (`south_road=WEST`) | +| *中局37* | HM02 Fly | 07.01 `fly` | +| *中局38* | Amulet Coin (40 caught) | 07.04 `amulet_coin` | +| 中局39 | Routes 16–18 to Fuchsia | 07.04 (WEST only) | +| 中局40 | Koga: Soul Badge | 07.05 | +| 中局41 | Gold Teeth to the Warden: HM04 Strength | 07.06, 07.07 | +| 中局42 | Secret House: HM03 Surf | 07.06 | +| *中局43* | Good Rod | 07.07 `good_rod` | +| *中局44* | Routes 19/20 to Seafoam, or Pallet + Route 21 to Cinnabar | 09.01 / 09.02 (`cinnabar_approach`) | + +### 终局 (endgame) + +| Line | Gloss | Checkpoint | +|---|---|---| +| *终局1* | Power Plant (header) | 12.02 `zapdos` | +| *终局2* | Surf from Route 10 to the Plant | 12.02 `zapdos` | +| *终局3* | Zapdos in the Plant | 12.02 `zapdos` | +| *终局4* | Seafoam Islands (header) | 09.02 | +| *终局5* | Articuno in Seafoam | 09.02 `articuno` | +| 终局6 | Saffron City (header) | 08.01 | +| *终局7* | Dojo: Hitmonlee or Hitmonchan | 08.02 `dojo_gift` | +| 终局8 | Silph: 5F Card Key | 08.03 | +| 终局9 | 3F warp to 7F rival; *Lapras gift* | 08.04 (`lapras_gift`) | +| 终局10 | 11F Giovanni; President: Master Ball | 08.05 | +| 终局11 | Sabrina | 08.06 | +| 终局12 | Cinnabar Island (header) | 09.01 / 09.02 | +| *终局13* | Lab revives fossils | 10.01 `fossil_revival` | +| 终局14 | Mansion: Secret Key | 10.01 | +| 终局15 | Blaine | 10.02 | +| *终局16* | Bill outside the gym; ferry to One Island | 10.03 `sevii_before_league` | +| 终局17 | One Island (header) | 11.01 | +| 终局18 | Tri-Pass | 11.01 | +| 终局19 | Celio; Meteorite | 11.01 | +| 终局20 | Ferry to Two Island | 11.02 | +| 终局21 | Town Map here if missed in Pallet | 11.01 (automatic in the Center scene) | +| 终局22 | Sevii Town Map page | 11.01 | +| 终局23 | Two Island (header) | 11.02 | +| 终局24 | Lostelle's father; search Three Island | 11.02 | +| 终局25 | Three Island (header) | 11.03 | +| 终局26 | To Berry Forest | 11.03 | +| 终局27 | Find Lostelle; Hypno; back to Two Island | 11.03 | +| 终局28 | Two Island (header) | 11.04 | +| 终局29 | Meteorite to the father; Moon Stone | 11.04 | +| 终局30 | Back to One Island | 11.04 | +| 终局31 | One Island (header) | 11.04 | +| 终局32 | Bill back to Cinnabar | 11.04 | +| 终局33 | Cinnabar Island (header) | 12.01 | +| 终局34 | *Route 21 back to Pallet*, then Viridian | 12.01 (default while `fly` is off) | +| 终局35 | Viridian City (header) | 12.01 | +| 终局36 | Giovanni: Earth Badge | 12.03 | +| 终局37 | Route 22 rival | 13.01 | +| 终局38 | League gate, Victory Road, Indigo Plateau | 13.02, 13.03, 13.04 | +| 终局39 | Indigo Plateau (header) | 13.04, 14.01 | +| 终局40 | Elite Four | 14.02–14.05 | +| 终局41 | Rival; Champion; Hall of Fame | 14.06, 14.07 | + +### 七之岛 (Sevii Islands, postgame) + +| Line | Gloss | Checkpoint | |---|---|---| -| O.01 Magikarp / fossil support | [Part 4](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_4) | Purchase Magikarp only for chosen roster → verify party/PC destination. Optional cave chambers, Moon Stones and route tutors require explicit pickup/teaching checks. Fossil choice itself stays in 01.03. | -| O.02 Cerulean/Vermilion services | [Parts 5](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_5) / [6](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_6) | Optional Powder Jar, Day Care, Old Rod, Vs. Seeker, NPC trades → verify respective gift/exchange and resulting party. Bike Voucher → Bicycle is its own checked exchange. | -| O.03 Route 11 / museum | [Part 7](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_7) | Optional Itemfinder aide requires 30 caught species → verify gift. Cut museum side access → receive Old Amber → reserve for Cinnabar revival. Flash route is already represented in 04.01. | -| O.04 Early Tower visit | [Part 8](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_8) | Fight rival before Celadon if selected → record it → skip that fight in 05.07. Do not attempt ghost completion without Scope. Optional Name Rater interaction needs its own naming policy. | -| O.05 Celadon roster/economy | [Part 9](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_9) | Eevee gift → chosen evolution; Coin Case/prize purchases; rooftop exchanges/tutors → verify costs, party space and exact moves. No unbounded gambling event. | -| O.06 Fly and Cycling Road | [Part 10](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_10) | Cut Route 16 access → receive HM02 → teach compatible member → verify Fly destination selection. Western road also needs Bicycle and chosen Snorlax resolution; downhill movement requires its own controller policy. | -| O.07 Eastern coast extras | [Part 10](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_10) | Optional Good/Super Rod and Exp. Share aide (50 caught species) → verify gifts; alternate road exploration must not re-trigger a resolved Snorlax as if untouched. | -| O.08 Dojo / Saffron gifts | [Part 11](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_11) | Fight selected Dojo trainers and master → choose Hitmonlee/Hitmonchan → verify gift. Optional Mr. Psychic, Copycat and Silph tutor events need item/move contracts. Lapras selection is in 07.04. | -| O.09 Seafoam alternative / Articuno | [Part 12](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_12) | Surf Routes 19/20 → solve Strength boulder/current stages → optionally stop/save before Articuno → capture only if selected → continue west to Cinnabar. Track boulders/floors separately from player pose. | -| O.10 Cinnabar revival / tutors | [Part 13](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_13) | Hand over chosen Mt. Moon fossil or Old Amber → complete required leave/return interaction → receive revived Pokemon; verify party space. Optional trades/tutor are separate choices. | -| O.11 One–Three Island extras | [Part 14](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_14) | Treasure Beach, Ember Spa, Cape Brink tutor and Two Island Move Maniac are explicit detours. Moltres approach → pre-encounter stop/save → optional capture. Do not conflate Moltres with S1 rescue progress. | -| O.12 Power Plant / Zapdos | [Part 15](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_15) | Surf to Plant → distinguish item balls from stationary encounters → reach Zapdos → stop/save → optional capture. Return to a named travel anchor. | -| O.13 Four / Six Island exploration | [Part 18](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_18) | Day Care, tutor/sticker services, Pattern Bush, Outcast Island/Altering Cave are opt-in visits with explicit interaction goals; none substitutes for Lorelei/Dotted Hole progression. | -| O.14 Five Island side quests | [Part 19](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_19) | Memorial Pillar tribute → checked reward; Water Labyrinth friendship gift → checked egg/space; Lost Cave rescue of Selphy → escort state; later requested-species/reward tasks are bounded, separate objectives. | -| O.15 Seven Island / Tanoby | [Part 19](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_19) | Canyon Entrance → Sevault Canyon → solve Tanoby Key boulders → verify Ruins encounter unlock → optional Unown collection. Trainer Tower is a separate challenge mode with explicit battle format and endpoint. | -| O.16 Roaming beast | [Part 20](https://bulbapedia.bulbagarden.net/wiki/Walkthrough:Pok%C3%A9mon_FireRed_and_LeafGreen/Part_20) | After network completion, choose bounded search/capture target; beast depends on starter (Squirtle profile: Raikou). Preserve one-time encounter state; do not insert random searching into linear story progress. | -| O.17 Birth Island / Navel Rock | Walkthrough index Part 21 is a red link at research time. | Reserved external-access branches, not part of the default route. Ticket/access prerequisites, version/platform support, puzzle and encounter contracts need separate sourcing before any runnable rows are written. Do not assume access from finishing the network quest. | - -## Missing capabilities exposed by the draft - -| Capability | First use | Requirement before executable events | +| 七之岛1 | 60 caught: National Pokedex from Oak | 15.01 | +| 七之岛2 | Ferry from Vermilion to One Island | 15.02 | +| 七之岛3 | Celio: find the Ruby | 15.02 | +| 七之岛4 | Kindle Road to Mt. Ember | 15.03 | +| *七之岛5* | Ember Spa: HM06 | 15.03 `rock_smash` | +| *七之岛6* | Moltres | 15.03 `moltres` | +| 七之岛7 | Rockets at the foot; Ruby in the cave | 15.03 | +| 七之岛8 | Ruby → Rainbow Pass; find the Sapphire | 15.04 | +| 七之岛9 | To Four Island | 15.05 | +| *七之岛10* | Four Island Day Care | 15.05 `four_island_daycare` | +| 七之岛11 | Into Icefall Cave | 15.05 | +| 七之岛12 | HM07 inside | 15.05 | +| 七之岛13 | Over the waterfall: Rockets with Lorelei | 15.06 | +| 七之岛14 | To Five Island | 15.07 | +| 七之岛15 | Warehouse shut: no password | 15.07 | +| *七之岛16* | Water Labyrinth egg | 16.01 `water_labyrinth_egg` | +| *七之岛17* | Lost Cave: Selphy's gift | 16.01 `selphy` | +| 七之岛18 | To Six Island | 15.08 | +| 七之岛19 | Ruin Valley; Cut into the Dotted Hole | 15.08 | +| 七之岛20 | Gideon takes the Sapphire; password | 15.08 | +| 七之岛21 | Back to Five Island; into the warehouse | 16.01 | +| 七之岛22 | Beat Gideon: Sapphire | 16.02 | +| 七之岛23 | Back to One Island | 16.03 | +| 七之岛24 | Sapphire to Celio; link with RS | 16.03 (no link trade) | + +### 七之岛剧情后 (after the Sevii story) and 传说的宝可梦 (legendaries table) + +| Line | Gloss | Checkpoint | |---|---|---| -| Broader battle/party policy | Misty and later rivals; Surge in particular | HP/status/PP, move effectiveness, switching, fainted members, bounded recovery, level/evolution/move prompts and trainer vs wild distinction. | -| Capture and caught-species accounting | Cut user / Flash branch; later National Dex | Bounded encounters/balls, unique-species counting, party/PC destinations, no assumed count from sightings. A full 60-species plan is still to be designed. | -| General item and shop interaction | Fossil, key items, evolving roster | Item identity/quantity, bag capacity, purchase budget, repeat-safe gifts and consumed items. | -| HM/TM learning and field actions | Cut | Explicit compatible member and replacement slot; confirm learned move and badge; replan with changed cut-tree/field state. | -| Story-aware map state | Bill return, gyms, Rocket occupation | Actual current object/trigger/switch state. Do not remove all post-Hall-of-Fame objects up front as a general substitute. | -| Forced movement / dynamic puzzles | Hideout spinners; later boulders | Directed transitions, door state, pushable objects, floor drops, currents and ice. Ordinary walkable grids do not model these automatically. | -| Observed puzzle search | Surge | Read first/second-switch/reset outcomes; bounded attempts; no assumed random layout. | -| Special interaction modes | Safari, ship lift/ferry, teleports | Correct menu and mode ownership; Safari encounters cannot use ordinary battle handlers. | -| Arrival and scene verification | Every new dungeon/escort | Map/pose/facing after automatic movement and transfers, with evidence; no guessed `pose_after`. | -| Save/resume manifests | Every promoted checkpoint; League especially | Exact story prerequisites, party, inventory, puzzle state and retry scope. Reloading a save must restore the state the row actually expects. | - -## Suggested first implementation slice - -Implement only `01.01`–`01.04` next: the post-Brock aide, Route 3, Mt. Moon's -required path/fossil choice and arrival in Cerulean. That slice tests the first -new map set, item selection, a required dungeon fight and a one-way descent -without committing to the whole battle/party strategy for Misty onward. - -For each subsequent promotion: resolve symbols against map scripts; split -route-specific trainers into named events; choose party/move/supply policy; -test table dependencies and map replay; validate actual trigger and scene end; -then record a restartable save boundary. Simulation establishes table -consistency, not proof that a controller action completed the story effect. +| *剧情后1* | Seven Island: Tanoby Ruins, Unown | 17.04 `tanoby_unown` | +| *剧情后2* | Cerulean Cave: Mewtwo | 17.01 `mewtwo` | +| *剧情后3* | Roaming beasts | 17.03 `roaming_beast` | +| *剧情后4* | MysticTicket: Navel Rock, Lugia, Ho-Oh | `navel_rock` (unsupported) | +| *剧情后5* | AuroraTicket: Birth Island, Deoxys | `birth_island` (unsupported) | +| *剧情后6* | Diploma for a completed Pokedex | `diploma` (unsupported) | +| 传说1 | Articuno, Seafoam | 09.02 `articuno` | +| 传说2 | Zapdos, Power Plant | 12.02 `zapdos` | +| 传说3 | Moltres, Mt. Ember | 15.03 `moltres` | +| 传说4 | Mewtwo, Cerulean Cave, after the Sevii story | 17.01 `mewtwo` | +| 传说5–7 | Raikou / Entei / Suicune by starter, after the Sapphire | 17.03 `roaming_beast` | +| 传说8–9 | Lugia, Ho-Oh, Navel Rock | `navel_rock` (unsupported) | +| 传说10 | Deoxys, Birth Island | `birth_island` (unsupported) | + +No line is unplaced. Three are placed with a caveat: 中局14 splits between +`05.01` (the news) and the Tower rows; 中局30 is a choice line, resolved by +`south_road` and segment order; 七之岛14–15 (`15.07`) may turn out to be a +visit that changes nothing. From a258abbebbb31f957ac9283cce22856fb5cf1cbf Mon Sep 17 00:00:00 2001 From: dayfine Date: Mon, 2 Nov 2026 13:43:54 -0800 Subject: [PATCH 3/6] Design: FRLG RNG handoffs, RNG plan setting, speedrun notes Adds an RNG handoff per target the upstream FRLG RNG programs support (Gift, Static, Roaming; Wild and Egg hooks noted), each a default-off split that saves at the program's start state and stops, and an RNG plan setting with its pre-run checks. Reserves an ACE setup option. Copies the WR speedrun notes next to the list and links them where used. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01AKYzhrMnPK61XHWEch4a6E --- docs/design/AutoStory-FRLG-FutureEvents.md | 128 ++- docs/design/AutoStory-FRLG-SpeedrunNotes.md | 1076 +++++++++++++++++++ 2 files changed, 1190 insertions(+), 14 deletions(-) create mode 100644 docs/design/AutoStory-FRLG-SpeedrunNotes.md diff --git a/docs/design/AutoStory-FRLG-FutureEvents.md b/docs/design/AutoStory-FRLG-FutureEvents.md index 24f01ad6e9..87bac1dae6 100644 --- a/docs/design/AutoStory-FRLG-FutureEvents.md +++ b/docs/design/AutoStory-FRLG-FutureEvents.md @@ -22,9 +22,9 @@ that every line of the 52poke story flow lands somewhere: and `scripts.inc`. Where a row cites a script or tile it was read there; every other start or end is a symbolic anchor (`@Map.anchor`), not a coordinate. Resolve anchors against the decomp, then on the console. -- **What a fast route skips** comes from pokeguy's LeafGreen 1:59:34 notes - (`autostory/FRLG_WR_VIDEO_NOTES.md` on `notes/frlg-wr-route`), quoted as - "WR" below. +- **What a fast route skips** comes from the [speedrun notes](AutoStory-FRLG-SpeedrunNotes.md), a sampled review of + pokeguy's LeafGreen 1:59:34 any% run, quoted as "WR" below. +- **RNG handoffs** follow the upstream FRLG RNG programs' docs pages. ## Reading the rows @@ -65,7 +65,7 @@ Run modes (planned, `autostory/DEMO_PLAN.md` on the notes branch): SPEEDRUN, DEFAULT and SAFE choose which battles to take, whether to flee wild Pokemon, the heal threshold and what to buy. Rows describe DEFAULT. SPEEDRUN would mostly turn on travel options the WR uses (`bike_voucher`, `fly`, -`south_road=WEST`) and could drop non-italic steps the WR skips, such as +`south_road=WEST`; see the [speedrun notes](AutoStory-FRLG-SpeedrunNotes.md)) and could drop non-italic steps the WR skips, such as Silph's Master Ball. **Sections** follow the story-sections rule (`docs/design/AutoStory-StoryTracks.md` @@ -95,9 +95,10 @@ default value instead. | `bike_voucher` | Fan Club voucher; exchange for the Bicycle in Cerulean | 03.02, 04.02 | *中局5* | | `old_rod` | Old Rod from the Fishing Guru's house | 03.02 | *中局6* | | `flash` | Diglett's Cave → Route 2 aide → HM05 Flash (10 caught) | 04.01, 05.01 | *中局12* | -| `old_amber` | Pewter Museum side door (Cut) → Old Amber | 04.01 | not on 52poke | +| `old_amber` | Pewter Museum side door (Cut) → Old Amber; runs the 04.01 trip | 04.01 | not on 52poke | | `early_tower` | Pokemon Tower before Celadon: 2F rival, ghosts on 3F | 05.02 | *中局15*, *中局16* | | `coin_case` | Coin Case from the man in the Celadon restaurant | 06.01 | *中局19* | +| `game_corner_prize` | Needs `coin_case`. Buy coins from the Game Corner clerk (bounded budget, no gambling) and a prize Pokemon | 06.01 | — (part of *中局19*'s Game Corner) | | `eevee` | Eevee from the Celadon Mansion rooftop room | 06.01 | *中局23* | | `fly` | HM02 Fly from the Route 16 house; enables Fly travel | 07.01 | *中局37* | | `south_road` = **EAST** \| WEST | Which Snorlax road reaches Fuchsia. One is required. | 07.02–07.04 | *中局31*, *中局36* | @@ -111,7 +112,7 @@ default value instead. | `cinnabar_approach` = **ROUTE21** \| SEAFOAM | Reach Cinnabar by Pallet + Route 21, or by Routes 19/20 and Seafoam | 09.01 / 09.02 | *中局44* | | `articuno` | Stop and save before Articuno; capture only if asked (needs SEAFOAM) | 09.02 | *终局4*, *终局5* | | `fossil_revival` | Revive the Mt. Moon fossil (and Old Amber) at the Cinnabar Lab | 10.01 | *终局13* | -| `sevii_before_league` | Accept Bill on Cinnabar and play segment 11 before Giovanni. Off: decline; segment 11 runs at the start of the postgame. | 10.03 | *终局16* | +| `sevii_before_league` | Accept Bill on Cinnabar and play segment 11 before Giovanni. Off: decline, as the WR does (1:23:10 in the [speedrun notes](AutoStory-FRLG-SpeedrunNotes.md)); segment 11 runs at the start of the postgame. | 10.03 | *终局16* | | `zapdos` | Power Plant: stop and save before Zapdos; capture only if asked (needs `fly`) | 12.02 | *终局1*–*终局3* | | `rock_smash` | HM06 from the old man at Ember Spa | 15.03 | *七之岛5* | | `moltres` | Mt. Ember summit: stop and save before Moltres | 15.03 | *七之岛6* | @@ -124,11 +125,108 @@ default value instead. | `league_rematch` | Elite Four round 2 | 17.02 | not on 52poke | | `navel_rock`, `birth_island` | **Unsupported**: need event tickets (MysticTicket, AuroraTicket) | — | *剧情后4*, *剧情后5* | | `diploma` | Diploma from Game Freak, Celadon Mansion 3F; needs a completed Pokedex. **Unsupported** until a dex-completion program exists. | — | *剧情后6* | +| `.rng` | RNG handoffs, one per target: see [RNG handoffs](#rng-handoffs) | per target | — | +| `ace_setup` | ACE / glitch setup. **Reserved, method not chosen**; not designed. | — | — | Italic lines that sit on the default path anyway: one of *中局31*/*中局36* (a Snorlax must be passed), one half of *中局44* (some route to Cinnabar), and *终局34* (Route 21 north; italic because Fly replaces it). +### RNG handoffs + +Each upstream FRLG RNG program (`SerialPrograms/Source/VideoGames/PokemonFRLG/Programs/RngManipulation/`, +docs `https://pokemonautomation.github.io/Programs/PokemonFRLG/.html`) +starts from a save the player made in a set spot. A handoff is a split in its +checkpoint: AutoStory sets up that start state, **saves and stops**, the user +runs the RNG program, then AutoStory resumes from the listed checkpoint. All +handoffs are off by default; one turns on only when its target is in the +[RNG plan](#rng-plan-setting). Where the gift or encounter is itself an +option, the handoff is a sub-option of it and needs that option on. + +Start states are from each program's docs page. Every resume point is +**unverified**: it assumes the RNG program leaves the player where AutoStory +saved, with the target in the party, and must be checked on the console. + +| Target | Program | Checkpoint (sub-option) | Start state the program needs | Split: AutoStory saves and stops | Resume after (unverified) | +|---|---|---|---|---|---| +| Bulbasaur / Charmander / Squirtle | StarterRng | 00.04 (`starter_rng_handoff`, reserved) | South side of the lab table, saved facing the chosen ball | Designed in the segment-00 PR | Per that PR | +| Magikarp | GiftRng | 01.01 (`magikarp.rng`) | ¥500 or more; saved facing the Magikarp salesman (Route 4 Center) | Before the purchase | 01.01's heal and save, same spot | +| Eevee | GiftRng | 06.01 (`eevee.rng`) | Saved facing Eevee's ball (Mansion rooftop room) | Before taking the ball | 06.01 from the room: rest of the services | +| Game Corner Abra / Clefairy / Dratini (FR or LG) / Scyther / Pinsir / Porygon | GiftRng | 06.01 (`game_corner_prize.rng`) | Enough coins for the prize; saved facing the prize counter. Prize list depends on version. | Before buying the prize | 06.01 from the prize corner | +| Snorlax | StaticRng | 07.02 EAST or 07.04 WEST (`south_road.rng_snorlax`) | Poke Flute held; saved facing Snorlax | Before playing the flute | The same row after the Snorlax tile is clear | +| Hitmonchan / Hitmonlee | GiftRng | 08.02 (`dojo_gift.rng`) | Karate King beaten; saved facing the chosen ball | After the Karate King battle | 08.02 from the Dojo: leave for the Center | +| Lapras | GiftRng | 08.04 (`lapras_gift.rng`) | Rival beaten; saved facing the Silph 7F employee | After the rival battle | 08.04 from the employee: on to 08.05 | +| Articuno | StaticRng | 09.02 (`articuno.rng`) | Saved facing Articuno; optionally take overworld items and break smashable rocks first so they add no advances | The row's `STOP_AT` | 09.02 after the encounter: on to Cinnabar | +| Omanyte / Kabuto / Aerodactyl | GiftRng | 10.01 (`fossil_revival.rng`) | Fossil given to the Lab scientist, building left and re-entered, saved next to the scientist. Species comes from 01.02's fossil choice; Aerodactyl needs `old_amber`. | After the hand-over and re-entry | 10.01 from the Lab: on to the Mansion | +| Hypno | StaticRng | 11.03 (`rng_hypno`; story battle, no parent option) | Saved facing Lostelle in Berry Forest | Before talking to Lostelle | 11.03 after the Hypno battle: escort to Two Island | +| Electrode | StaticRng | 12.02 (`zapdos.rng_electrode`; the Power Plant trip) | Saved facing the Electrode | At the Electrode, before Zapdos | 12.02 from the same tile | +| Zapdos | StaticRng | 12.02 (`zapdos.rng`) | Saved facing Zapdos; items and rocks as for Articuno | The row's `STOP_AT` | 12.02 after the encounter: Fly back | +| Moltres | StaticRng | 15.03 (`moltres.rng`) | Saved facing Moltres | The row's `STOP_AT` | 15.03 after the encounter: on to the Ruby | +| Togepi | GiftRng | 16.01 (`water_labyrinth_egg.rng`) | No Repel active; max-friendship lead; on the Bicycle (needs `bike_voucher`); saved facing the old man. "Togepi (pre-approved)" if he already saw the lead but the party was full. | Before talking to the old man | 16.01 from Water Labyrinth | +| Raikou / Entei / Suicune | RoamingLegendaryRng | 16.03 (`roaming_beast.rng`) | Sapphire held and **not yet given**; saved on Celio's left, facing him (machine's left light red, right dark); lead Lv5–49; a Fly user last with Fly as its first field move; a free slot; 3+ Max Repels second in the bag; balls on top. The beast follows the starter (Squirtle: Raikou). | Before giving the Sapphire. With this on, 16.03 must not save after the delivery. | 16.03's end (network complete), if the program delivers the Sapphire | +| Mewtwo | StaticRng | 17.01 (`mewtwo.rng`) | Saved facing Mewtwo | The row's `STOP_AT` | 17.01 after the encounter | +| Ho-Oh / Lugia | StaticRng | `navel_rock` | Top of Navel Rock's steps / facing Lugia | — | **Unsupported**: MysticTicket event island | +| Deoxys | StaticRng | `birth_island` | Puzzle solved, saved before the red triangle | — | **Unsupported**: AuroraTicket event island | + +Two more programs could hook in later; not designed here: + +- **WildRng** (grass, surf, fishing, Rock Smash): the hook is a checkpoint + whose end tile can spawn the target. Needs a Sweet Scent user in the last + slot (grass, surf), a rod registered to SELECT and facing water (fishing), or + a Rock Smash user facing a rock. Natural spots: Tanoby Unown (17.04; slow to + calibrate per its docs), the Safari Zone (07.06; the program has a Safari + mode), any route a row already ends on. +- **EggRng** (day care eggs): postgame only, at the Four Island Day Care + (15.05, `four_island_daycare`). Needs both parents deposited with no steps + taken after, three free slots, a Surf user, ideally Rock Smash. The program + saves twice by itself, so its resume point needs its own design. + +## RNG plan setting + +The user decides targets before the run, with an RNG search tool, and fills +one table. AutoStory never picks seeds. + +| Field | Scope | Notes | +|---|---|---| +| Game version | shared | FireRed / LeafGreen; must match the game AutoStory runs | +| Language | shared | Picks the seeds list (only English and Japanese lists exist; other languages use English) | +| Sound | shared | Mono / Stereo; the in-game setting must match | +| Switch profile position | shared | The RNG programs' `PROFILE` option | +| TID / SID | shared | From `sid_helper_handoff` or entered by the user; targets are searched with it | +| Target | per row | One of the targets above | +| Target Seed, Advances | per row | From the search tool | +| Target-specific | per row | Starter species; Game Corner prize; fossil (must match 01.02's choice) | + +How AutoStory uses it: + +- A handoff turns on only for a target in the table; nothing else stops. +- At the handoff it reaches the start state, saves, stops, and tells the user + the exact program and values: program name and docs link, Target, Target + Seed, Advances, Game Version, Language, Sound, profile position, and the + checkpoint to start AutoStory from afterwards. +- Later, possibly: call the RNG code inline instead of stopping (the programs + share calibration and reset routines in `PokemonFRLG_RngLoopRoutines` and + `PokemonFRLG_HardReset`). Not designed. +- The RNG programs need Text Speed Fast, Button Mode **HELP**, Frame Type 1 and + the right sound setting. AutoStory must set or check these in its options + step before the first handoff; check that its own menus work with Button Mode + HELP. + +Checks before the run starts (an error stops the run before anything is +saved): + +- Each Target Seed is found by `SeedsDatabase::find_seed` in the list for the + version and language, with that sound setting (as the programs themselves + check at their start). +- Each target's checkpoint is in the selected start–end range and is not + skipped by the route choices or a parent option that is off. Examples: + Articuno with `cinnabar_approach=ROUTE21`; Togepi without `bike_voucher`; + Kabuto when 01.02 picks the Helix Fossil; Aerodactyl without `old_amber`; + Entei when the starter is Squirtle; the Dratini of the other version; any + target on `navel_rock` or `birth_island`. A listed target never turns its + parent option on by itself. +- A TID/SID is known before the first target. + ## Main story ### Segment 00 — New game to the Running Shoes (Parts 1–3) @@ -189,11 +287,11 @@ a schedule change, not an option. ### Segment 04 — Route 11, Diglett's Cave, Route 2 east, Museum, Routes 9/10 (Part 7) -Default skips Flash and walks Rock Tunnel dark, as the WR does. +Default skips Flash and walks Rock Tunnel dark, as the WR does (45:00–50:00 in the [speedrun notes](AutoStory-FRLG-SpeedrunNotes.md)). | ID | Title | Start | Does | End / save | 52poke | |---|---|---|---|---|---| -| 04.01 | `[opt: flash]` Diglett's Cave to HM05 | `@Vermilion.center_counter` | Route 11; Diglett's Cave; Route 2 east gate aide (needs 10 caught: `CAPTURE` until met); `TEACH(Flash)`; `[opt: old_amber]` museum side door via Cut; back through the cave | `@Vermilion.center_counter` | *中局12* | +| 04.01 | `[opt: flash or old_amber]` Diglett's Cave to HM05 | `@Vermilion.center_counter` | Route 11; Diglett's Cave; `[opt: flash]` Route 2 east gate aide (needs 10 caught: `CAPTURE` until met), `TEACH(Flash)`; `[opt: old_amber]` museum side door via Cut; back through the cave | `@Vermilion.center_counter` | *中局12* | | 04.02 | Back to Cerulean | `@Vermilion.center_counter` | Route 6; Underground Path; Route 5; `[opt: bike_voucher]` Bike Shop exchange; Center `heal` | `@Cerulean.center_counter` | 中局13 | | 04.03 | Routes 9 and 10 | `@Cerulean.center_counter` | Cut the east tree; Route 9 trainers on the path; Route 10 Center `heal` | `@Route10.center_counter` | 中局13 | @@ -209,7 +307,7 @@ Default skips Flash and walks Rock Tunnel dark, as the WR does. | ID | Title | Start | Does | End / save | 52poke | |---|---|---|---|---|---| -| 06.01 | Celadon services | `@Celadon.center_counter` | Mansion 1F old lady: Tea; Dept. Store by budget `[opt: coin_case]` `[opt: eevee]` | `@Celadon.center_counter` | *中局19*, *中局23*, 中局24 | +| 06.01 | Celadon services | `@Celadon.center_counter` | Mansion 1F old lady: Tea; Dept. Store by budget `[opt: coin_case]` `[opt: game_corner_prize]` `[opt: eevee]` | `@Celadon.center_counter` | *中局19*, *中局23*, 中局24 | | 06.02 | Rainbow Badge | `@Celadon.center_counter` | Cut the gym tree; gym trainers on the path; `PREP(Erika)`; `battle(Erika)`; Rainbow Badge, TM19 | `@Celadon.center_counter` | 中局18 | | 06.03 | Hideout entrance | `@Celadon.center_counter` | Game Corner; `battle(poster_grunt)`; press the poster switch; stairs | `@RocketHideoutB1F.stairs` | 中局20 | | 06.04 | Lift Key | `@RocketHideoutB1F.stairs` | Spinner floors to B4F northwest room; `battle(key_grunt)`; **talk again**; pick up the Lift Key | `@RocketHideoutB4F.key_room` | 中局21 | @@ -565,14 +663,16 @@ counted because they are list lines there. *Italic* = optional on 52poke. | *剧情后4* | MysticTicket: Navel Rock, Lugia, Ho-Oh | `navel_rock` (unsupported) | | *剧情后5* | AuroraTicket: Birth Island, Deoxys | `birth_island` (unsupported) | | *剧情后6* | Diploma for a completed Pokedex | `diploma` (unsupported) | -| 传说1 | Articuno, Seafoam | 09.02 `articuno` | -| 传说2 | Zapdos, Power Plant | 12.02 `zapdos` | -| 传说3 | Moltres, Mt. Ember | 15.03 `moltres` | -| 传说4 | Mewtwo, Cerulean Cave, after the Sevii story | 17.01 `mewtwo` | -| 传说5–7 | Raikou / Entei / Suicune by starter, after the Sapphire | 17.03 `roaming_beast` | +| 传说1 | Articuno, Seafoam | 09.02 `articuno` (`articuno.rng`) | +| 传说2 | Zapdos, Power Plant | 12.02 `zapdos` (`zapdos.rng`) | +| 传说3 | Moltres, Mt. Ember | 15.03 `moltres` (`moltres.rng`) | +| 传说4 | Mewtwo, Cerulean Cave, after the Sevii story | 17.01 `mewtwo` (`mewtwo.rng`) | +| 传说5–7 | Raikou / Entei / Suicune by starter, after the Sapphire | 17.03 `roaming_beast`; RNG at 16.03 (`roaming_beast.rng`) | | 传说8–9 | Lugia, Ho-Oh, Navel Rock | `navel_rock` (unsupported) | | 传说10 | Deoxys, Birth Island | `birth_island` (unsupported) | +RNG handoffs add no 52poke lines; they split checkpoints already listed. + No line is unplaced. Three are placed with a caveat: 中局14 splits between `05.01` (the news) and the Tower rows; 中局30 is a choice line, resolved by `south_road` and segment order; 七之岛14–15 (`15.07`) may turn out to be a diff --git a/docs/design/AutoStory-FRLG-SpeedrunNotes.md b/docs/design/AutoStory-FRLG-SpeedrunNotes.md new file mode 100644 index 0000000000..b11c59a257 --- /dev/null +++ b/docs/design/AutoStory-FRLG-SpeedrunNotes.md @@ -0,0 +1,1076 @@ +# pokeguy's LeafGreen 1:59:34: staged visual route notes + +> Sampled visual review of pokeguy's LeafGreen any% glitchless world-record run, kept as a route reference +> for [the FRLG AutoStory checkpoint list](AutoStory-FRLG-FutureEvents.md); copied from `notes/frlg-wr-route`. + +Source: [full video](https://www.youtube.com/watch?v=CbfjWuRWH10), +[verified run](https://www.speedrun.com/pkmnfrlg/runs/z5kkjogz). +Video title: *Pokemon LeafGreen Any% Glitchless Speedrun in 1:59:34 +[Current World Record]*. The leaderboard category is English Any% Glitchless, +console (GBI). Do not label this run manipless. + +Video duration from public metadata: **02:03:57** (7,437 seconds). +All timestamps below are **video playback positions**, not the run timer. +The on-screen timer is a separate clock; the recording opens with a previous +attempt's time before the new timer begins. + +## Review method and scope + +Work in five-minute video chunks. The first pass inspects the downloaded +720p clips (00–10) and the full 480p video (10 onward) at one-second intervals, plus quarter-second inspection around +short menus (naming, Trainer Card, move swap, capture bag/nickname); up to +12 frames/second for the brief Ether move menu. Exact +boundary frames are checked when a battle crosses chunks. Notes summarize actions +and outcomes; they are not an exact controller input log. Mark missed text, +unreadable choices and inferred intent explicitly. Audio commentary is not +reviewed in this pass. Storyboard thumbnails are orientation only, not proof +of every intervening action. + +Record route choices, interactions, item pickups, menu settings, naming, +party/move changes, battle opponents and actions, healing, saves/resets, and +any uncertainty that affects reproducing the route. A passed time boundary +does not mean that chunk has been reviewed. + +The original task briefly selected Werster's run, then the user corrected +the selection to pokeguy. Only pokeguy's video belongs in these notes. +Research notes for the FRLG AutoStory route; no code depends on them. + +## Repeatable review process + +1. Verify the runner, category and video against the linked run page. Keep + playback timestamps separate from the on-screen speedrun timer. Download + the source once; verify its duration and use the same file for later blocks. +2. Take the next **five minutes of video**, starting at the saved resume point. + Extract one frame per second and arrange consecutive frames in timestamped + contact sheets: 30 frames per sheet, ten sheets per five-minute block. + Inspect every sheet in order. This is a sampled visual review, not continuous + playback or an audio transcription; short actions can fall between samples. +3. Follow the route and battle sequence across those sheets. Record opponents, + moves, visible HP/PP, items, prices, rewards and story interactions. Reinspect + brief menus or unclear transitions with denser frames (normally 4 fps; + 12 fps was needed for one Ether menu). Consult individual frames as needed. + Do not infer unseen actions from an expected walkthrough route. +4. Write a timestamped action table for that block. Distinguish directly read + values from counts derived from earlier observations. Label unreadable text, + uncertain intent and unresolved choices explicitly; do not treat sampling + gaps as evidence that an action never happened. +5. Reconcile a boundary state: location, pending interaction/battle, party, + level, HP, moves and relevant inventory. Carry unfinished actions into the + next block. Check the next boundary frame if it is needed to resolve a fade. + Keep proposed AutoStory behavior separate from observations of this run. +6. Update the coverage table and resume point **only after visual inspection + and notes are complete**. Keep downloaded media and extracted frames + outside git. + +Current local tooling (temporary cache, not a permanent dependency): + +```sh +# Absolute start in seconds: 4500 = video 1:15:00. +/tmp/codex-frlg-video-review-20261101/modern/bin/python \ + /tmp/codex-frlg-video-review-20261101/review_frames.py 4500 +# Optional focused pass; give each extraction a distinct output name. +/tmp/codex-frlg-video-review-20261101/modern/bin/python \ + /tmp/codex-frlg-video-review-20261101/review_frames.py 4500 \ + --duration 8 --fps 4 --name detail-7515-example +``` + +The helper uses FFmpeg to seek into `pokeguy-full-480.mp4`, crop the gameplay +area (`crop=666:466:188:0`), and scale it to 400×280 per frame. Pillow labels +and combines frames into five-column, six-row sheets. Inspect them with an +image viewer; generating the sheets alone does **not** review the block. +Crop/scale coordinates belong to this recording's layout and must be checked +again for another video. Source metadata and media links above allow recovery +if the `/tmp` cache disappears; the helper itself is currently temporary. + +## Coverage and resume point + +- Completed chunks: **00:00–2:03:57**, the whole video, reviewed in separate five-minute visual passes. +- The run ends at the Hall of Fame (video 1:59:41, in-game clock 1:54); credits follow. +- Local media workspace: `/tmp/codex-frlg-video-review-20261101/`. + Metadata: `pokeguy-metadata.json`; first clip: `pokeguy-0000-0500.mp4`. + Second clip: `pokeguy-0455-1000.mp4` (video 04:55–10:00, including overlap). + Its local time 00:05 corresponds to video 05:00; checked against the + on-screen run timer (04:53). Clip duration verified as 305 seconds. + From 10:00 onward: `pokeguy-full-480.mp4` (full 02:03:57 video), with + timestamped one-second contact sheets in `1000/`, `1500/`, etc. + `review_frames.py` regenerates a block from its absolute start in seconds. + This is a temporary cache and may need regeneration. +- Keep media out of git. + +| Chunk (video time) | Status | +|---|---| +| 00:00:00–00:05:00 | Reviewed; details below | +| 00:05:00–00:10:00 | Reviewed; details below | +| 00:10:00–00:15:00 | Reviewed; details below | +| 00:15:00–00:20:00 | Reviewed; details below | +| 00:20:00–00:25:00 | Reviewed; details below | +| 00:25:00–00:30:00 | Reviewed; details below | +| 00:30:00–00:35:00 | Reviewed; details below | +| 00:35:00–00:40:00 | Reviewed; details below | +| 00:40:00–00:45:00 | Reviewed; details below | +| 00:45:00–00:50:00 | Reviewed; details below | +| 00:50:00–00:55:00 | Reviewed; details below | +| 00:55:00–01:00:00 | Reviewed; details below | +| 01:00:00–01:05:00 | Reviewed; details below | +| 01:05:00–01:10:00 | Reviewed; details below | +| 01:10:00–01:15:00 | Reviewed; details below | +| 01:15:00–01:20:00 | Reviewed; details below | +| 01:20:00–01:25:00 | Reviewed; details below | +| 01:25:00–01:30:00 | Reviewed; details below | +| 01:30:00–01:35:00 | Reviewed; details below | +| 01:35:00–01:40:00 | Reviewed; details below | +| 01:40:00–01:45:00 | Reviewed; details below | +| 01:45:00–01:50:00 | Reviewed; details below | +| 01:50:00–01:55:00 | Reviewed; details below | +| 01:55:00–02:00:00 | Reviewed; details below | +| 02:00:00–02:03:57 | Reviewed (credits; sampled) | + +## 00:00–05:00 — opening, Squirtle and first Route 1 traversal + +Timestamps are approximate, normally within one second. The linked position +is a review entry point, not an exact button-edge measurement. + +| Video time | Observed action / outcome | Detail or qualification | +|---|---|---| +| [00:00–00:07](https://www.youtube.com/watch?v=CbfjWuRWH10&t=0) | Boot/copyright screen, LeafGreen title, then select NEW GAME. | A CONTINUE entry for player A, time 0:01, zero badges is already present. This is not evidence of a blank save cartridge. The opening on-screen timer initially contains an earlier attempt's time. | +| [00:08–00:15](https://www.youtube.com/watch?v=CbfjWuRWH10&t=8) | Advance control explanations and introductory help pages. | No options configuration screen observed here. | +| [00:16–00:30](https://www.youtube.com/watch?v=CbfjWuRWH10&t=16) | Advance Oak's introduction; use the male player character. | New run timer starts at about video 00:07; around video 00:49.9 it reads 00:42.90. Approximate offset: video time minus 7 seconds. | +| [00:31–00:34](https://www.youtube.com/watch?v=CbfjWuRWH10&t=31) | Enter the player name **A**. | Name confirmed again on the Trainer Card. | +| [00:36–00:41](https://www.youtube.com/watch?v=CbfjWuRWH10&t=36) | Choose rival name **RED** from the default-name list. | Quarter-second frames show the default list and the subsequent RED confirmation. This is LeafGreen; our FireRed table currently uses GREEN. | +| [00:42–00:48](https://www.youtube.com/watch?v=CbfjWuRWH10&t=42) | Finish intro and appear in upstairs bedroom; open START menu. | No walk to the bedroom PC before opening the menu. | +| [00:48–00:51](https://www.youtube.com/watch?v=CbfjWuRWH10&t=48) | Open player **A** / Trainer Card, inspect it briefly, close it. | Visible Trainer ID **39569**, money **3000**, game time **0:00**, zero badges. Purpose of the check is not established by silent footage alone. | +| [00:51–01:05](https://www.youtube.com/watch?v=CbfjWuRWH10&t=51) | Walk to stairs, descend, leave house; go west of the house, north around it and east toward Pallet's northern grass exit. | No bedroom PC Potion collection or conversation with mother observed. No exact tile-by-tile coordinates measured. | +| [01:06–01:20](https://www.youtube.com/watch?v=CbfjWuRWH10&t=66) | Trigger Oak's warning at the north exit; advance dialog; follow scripted escort into lab. | Includes automatic movement; do not count it as manually walked route legs. | +| [01:21–01:34](https://www.youtube.com/watch?v=CbfjWuRWH10&t=81) | Walk up inside lab; advance Oak/rival starter explanation. | Rival is already present. | +| [01:35–01:44](https://www.youtube.com/watch?v=CbfjWuRWH10&t=95) | Approach the middle starter ball, interact and select **Squirtle**. | Reception text explicitly confirms Squirtle. Map coordinates are not measured from this video. | +| [01:44–01:47](https://www.youtube.com/watch?v=CbfjWuRWH10&t=104) | Accept nickname entry and name Squirtle **A**. | This differs from the MVP's NO-nickname choice. | +| [01:47–01:56](https://www.youtube.com/watch?v=CbfjWuRWH10&t=107) | Rival takes Bulbasaur; walk away from table into rival battle trigger. | Red's Bulbasaur reception text visible. | +| [01:57–02:15](https://www.youtube.com/watch?v=CbfjWuRWH10&t=117) | Rival battle intro and Oak's battle tutorial. | Opponent: **Bulbasaur Lv.5**. Player: **Squirtle A Lv.5, 20/20 HP**. | +| [02:16–02:40](https://www.youtube.com/watch?v=CbfjWuRWH10&t=136) | Repeatedly choose **Tackle**, winning the tutorial fight. | Five player Tackle actions in the sampled sequence. Bulbasaur's first attack misses; later Tackles reduce A to **11/20 HP** before the level gain. No item use or Tail Whip by the player observed. | +| [02:41–02:49](https://www.youtube.com/watch?v=CbfjWuRWH10&t=161) | Receive **67 EXP**, grow to **Lv.6**, defeat RED and receive **80** prize money. | Level-up display shows **13/22 HP**. Do not confuse this with later full HP. | +| [02:49–03:00](https://www.youtube.com/watch?v=CbfjWuRWH10&t=169) | Finish Oak's end-of-battle explanation and rival departure; leave lab. | No manual healing action shown. | +| [03:01–03:10](https://www.youtube.com/watch?v=CbfjWuRWH10&t=181) | Walk north from lab, leave Pallet, enter Route 1 grass. | First wild encounter transition begins near 03:10. | +| [03:10–03:18](https://www.youtube.com/watch?v=CbfjWuRWH10&t=190) | Enter wild battle against **Rattata Lv.3**. | A is **Lv.6, 22/22 HP**, Tackle **35/35 PP** when the move menu appears. Both HP and Tackle PP have been restored since the lab fight; no nurse or bag action intervened. | +| [03:18–03:44](https://www.youtube.com/watch?v=CbfjWuRWH10&t=198) | Fight Rattata with **Tackle**, rather than fleeing. | Four Tackle uses including one miss; Rattata repeatedly uses Tail Whip. Last hit is critical. Receive **24 EXP**; A remains **Lv.6, 22/22 HP**. Later visible Tackle **31/35** supports the four-use count. | +| [03:45–03:54](https://www.youtube.com/watch?v=CbfjWuRWH10&t=225) | Continue north through Route 1's path/grass sections. | No pickup or conversation observed in this travel interval. Another wild transition starts around 03:54. | +| [03:54–04:01](https://www.youtube.com/watch?v=CbfjWuRWH10&t=234) | Enter battle against **Pidgey Lv.2**. | A starts **Lv.6, 22/22 HP**. | +| [04:01–04:02](https://www.youtube.com/watch?v=CbfjWuRWH10&t=241) | Reorder the move list: exchange Tackle and Tail Whip. | Quarter-second frames show the switch: **Tail Whip becomes slot 1; Tackle becomes slot 2**. Tackle remains selected and is used. Exact controller button for move swapping is not visible. | +| [04:02–04:14](https://www.youtube.com/watch?v=CbfjWuRWH10&t=242) | Use **Tackle three times** to defeat Pidgey. | Pidgey's Tackles reduce A from **22/22 to 19/22, then 16/22 HP**. No healing or capture attempt observed. | +| [04:15–04:22](https://www.youtube.com/watch?v=CbfjWuRWH10&t=255) | Receive **15 EXP**, grow to **Lv.7**, learn **Bubble**. | Level-up HP becomes **19/25**. Bubble is added without a four-move replacement prompt. Its final slot has not yet been read from a later move menu. | +| [04:23–04:39](https://www.youtube.com/watch?v=CbfjWuRWH10&t=263) | Continue north; enter Viridian around 04:29; pass the Center and route east/north to the Mart. | Does not enter the Pokemon Center. | +| [04:40–04:47](https://www.youtube.com/watch?v=CbfjWuRWH10&t=280) | Enter Mart; automatic clerk approach/dialog; receive **Oak's Parcel**. | Explicit item receipt visible around 04:45–04:47. No shopping menu or purchase shown. | +| [04:48–05:00](https://www.youtube.com/watch?v=CbfjWuRWH10&t=288) | Leave Mart; walk west/south around the Center toward southern Viridian / Route 1. | At the chunk boundary the return journey has started. Parcel delivery and Pokedex are **not** covered yet. | + +### State carried into the next chunk + +- Player: **A**; rival: **RED**; game: **LeafGreen**. +- Traced party: Squirtle nicknamed **A**, last visible **Lv.7, 19/25 HP**. + No additional party member obtained in the reviewed interval. +- Known moves: **Tackle, Tail Whip, Bubble**. Last verified ordering before + Bubble was learned: Tail Whip slot 1, Tackle slot 2. Bubble's slot and exact + current PP require the next visible move menu; do not invent them. +- Oak's Parcel received and not yet delivered. No Pokedex or badges yet. +- No player item use, purchase, capture, manual save or nurse visit observed. + Bag quantities are not known from this footage; zero item use is not proof + of an empty bag. Money after prize is derivable as 3080, but not re-read. +- Last observed location: southern Viridian, returning toward Route 1. +- Resume around **04:55** for context, then annotate **05:00–10:00**. + +### Explicit uncertainties + +- Text speed, battle scene/style and button-mode settings were not inspected + on an options screen. Do not mark an observed SET_OPTIONS event. +- The overlay shows nature/IV information, but the inspected gameplay does + not show a corresponding Summary-screen verification or explain how those + overlay values were obtained. Treat it separately from observed game state. +- Trainer ID check and precise movement may be RNG-related; that purpose is + an inference and has not been established here. Glitchless does not imply + manipless. +- Frame sampling can miss short input/menu states. These are action-level + notes, not a claim that every button press or tile was recovered. + +## 05:00–10:00 — Pokedex, Rattata capture and Viridian Forest + +Continues the return from Viridian with Oak's Parcel. Same timestamp convention: +video positions, approximate to a second unless a boundary frame is specified. +The one-second visual pass covers the full chunk, with quarter-second passes +around the Rattata bag and nickname sequences. No audio review. + +| Video time | Observed action / outcome | Detail or qualification | +|---|---|---| +| [05:00–05:23](https://www.youtube.com/watch?v=CbfjWuRWH10&t=300) | Return south along Route 1, using the ledge route; enter Pallet and walk to Oak's lab. | No wild encounter, pickup or healing in this return interval. | +| [05:24–05:32](https://www.youtube.com/watch?v=CbfjWuRWH10&t=324) | Enter lab; approach Oak; talk; deliver **Oak's Parcel**. | Explicit parcel-delivery text appears around 05:30. | +| [05:33–05:49](https://www.youtube.com/watch?v=CbfjWuRWH10&t=333) | Advance scene: RED arrives, Oak collects the devices and gives the **Pokedex**. | Receipt text visible around 05:47–05:48. No new battle with RED. | +| [05:50–06:08](https://www.youtube.com/watch?v=CbfjWuRWH10&t=350) | Receive **five Poke Balls**; advance catching instructions, Oak's request and RED's departure. | Five-ball receipt around 05:52–05:53. RED mentions borrowing a Town Map; the player does not thereby receive one. | +| [06:09–06:30](https://www.youtube.com/watch?v=CbfjWuRWH10&t=369) | Leave lab and head north through Pallet and Route 1 again. | No visit to rival's sister, player house, Mart or Center in this interval. | +| [06:31–06:39](https://www.youtube.com/watch?v=CbfjWuRWH10&t=391) | Wild **Rattata Lv.3** encounter; send A and use **Bubble once**. | A begins **Lv.7, 19/25 HP**. Rattata survives the hit in green HP. This is a second Rattata encounter, distinct from the one defeated in the first chunk. | +| [06:40–06:43](https://www.youtube.com/watch?v=CbfjWuRWH10&t=400) | Rattata uses Tackle; open BAG. | A falls to **16/25 HP**. A's ITEMS pocket is visibly empty in the closer menu pass; this is the player's bag, unlike the old man's later demonstration. | +| [06:44–06:57](https://www.youtube.com/watch?v=CbfjWuRWH10&t=404) | Select and throw **one Poke Ball**; capture Rattata. | Explicit successful-catch message; no failed ball or second throw observed. No defeat/EXP event. | +| [06:58–07:03](https://www.youtube.com/watch?v=CbfjWuRWH10&t=418) | Advance Rattata Pokedex entry and dismiss nickname prompt; return to overworld. | No naming keyboard appears in the quarter-second pass. Treat species-name retention as inferred until a party-name view confirms it; exact cancel button is not visible. | +| [07:03–07:15](https://www.youtube.com/watch?v=CbfjWuRWH10&t=423) | Continue north to Viridian; pass west of the Center and approach the old-man trigger. | No shopping or nurse visit. Rattata has joined the traced party; no switch away from Squirtle observed. | +| [07:16–07:22](https://www.youtube.com/watch?v=CbfjWuRWH10&t=436) | Advance old man's coffee/Pokedex/catching explanation. | Leads directly into his demonstration. | +| [07:23–07:56](https://www.youtube.com/watch?v=CbfjWuRWH10&t=443) | Watch the old man's scripted **Weedle Lv.5** capture demonstration. | His demo bag shows Potion x1 and Poke Ball x1; these are **not** evidence of the player's inventory. Weedle is not a new member of the player's party. | +| [07:57–08:03](https://www.youtube.com/watch?v=CbfjWuRWH10&t=477) | Finish tutorial dialog; receive **Teachy TV**; leave northward. | Explicit receipt and Key Items placement text. | +| [08:04–08:24](https://www.youtube.com/watch?v=CbfjWuRWH10&t=484) | Walk Route 2's western path and grass; enter and cross the gatehouse; enter Viridian Forest. | No trainer battle or item collection in this approach. Forest entry artwork appears around 08:22–08:24. | +| [08:25–08:43](https://www.youtube.com/watch?v=CbfjWuRWH10&t=505) | Move east/north through the forest's lower/right-side paths, passing trainers. | No battle with these passed NPCs observed. Exact tile coordinates are not measured. | +| [08:44–08:46](https://www.youtube.com/watch?v=CbfjWuRWH10&t=524) | Pick up **one Antidote** from an overworld item ball. | Explicit item-found text. Acquisition does not imply it has been used. | +| [08:47–08:59](https://www.youtube.com/watch?v=CbfjWuRWH10&t=527) | Continue through grass; encounter **Caterpie Lv.4** and flee successfully. | A remains **Lv.7, 16/25 HP**; no attack, capture, EXP gain or escape failure observed. | +| [09:00–09:15](https://www.youtube.com/watch?v=CbfjWuRWH10&t=540) | Continue along forest paths/grass; encounter **Kakuna Lv.5** and flee. | Explicit safe-escape text; A still **16/25 HP**. | +| [09:16–09:34](https://www.youtube.com/watch?v=CbfjWuRWH10&t=556) | Continue toward the upper forest path; encounter **Caterpie Lv.5** and flee. | Third forest wild battle in this chunk; all three are fled, not fought for EXP. | +| [09:35–09:51](https://www.youtube.com/watch?v=CbfjWuRWH10&t=575) | Walk into trainer sight line; trainer approaches; begin **Bug Catcher Sammy** battle. | Name and **Weedle Lv.9** shown. A starts **Lv.7, 16/25 HP**. | +| [09:52–09:57](https://www.youtube.com/watch?v=CbfjWuRWH10&t=592) | Select Bubble; Weedle acts first with Poison Sting; A uses Bubble. | Menu confirms **Tail Whip slot 1, Tackle slot 2, Bubble slot 3**, with Bubble **29/30 PP** before use. Poison Sting reduces A to **12/25 HP**; Bubble damages but does not defeat Weedle. | +| [09:58–10:00](https://www.youtube.com/watch?v=CbfjWuRWH10&t=598) | Weedle uses Poison Sting again; A begins a second Bubble. | At exact video **09:59.9**, A is **9/25 HP**, Lv.7, and text says A used Bubble. Its second hit's outcome is not yet visible. No trainer win, EXP, level gain or reward recorded in this chunk. | + +### State carried into 10:00–15:00 + +- **Active trainer battle: Bug Catcher Sammy, Weedle Lv.9.** Continue it; + do not start another battle entry or assume the win shown in later thumbnails + happened before this boundary. +- Active Pokemon: Squirtle **A, Lv.7, 9/25 HP** at video **09:59.9**. + Second Bubble has been announced; its damage/KO outcome remains pending. + The level indicator is still visible rather than a poison status label at + this frame; check for later status text before inferring the final effect + of Poison Sting. +- Move order now directly verified: **Tail Whip, Tackle, Bubble, empty**. + Bubble was **29/30 PP** at the first Sammy selection. Two uses since that + read would imply 27/30, but a later menu must confirm the current value. +- Traced party: Squirtle A plus the captured **Rattata Lv.3**. No other catch. + Rattata's precise HP, move set, party slot and retained name have not been + read on a party/Summary screen. +- Pokedex obtained; Parcel delivered; Teachy TV obtained; no badge yet. +- One Antidote picked up and no use observed. Five Poke Balls received and + one spent: **four remaining is bookkeeping inference**, not a post-capture + inventory read. No shop, nurse, manual save or party switch observed. +- Resume at **09:55** for battle context; next annotation range **10:00–15:00**. + +### Chunk-specific uncertainties and boundaries + +- Capture intent is not stated. A future Cut-user role for Rattata is plausible + but not established by this chunk; do not label it an observed HM assignment. +- The fast ball-selection screen does not provide a reliable post-capture + quantity read. The tutorial's fake bag must not be used to fill that gap. +- The default nickname prompt is dismissed without a naming screen; no claim + is made about the physical button used or a briefly unseen cursor change. +- Only the Antidote pickup above is observed. Walking past other item balls + or a sign is not an item or dialog event. + +## 10:00–15:00 — Sammy, Pewter Gym, supplies and Running Shoes + +| Video time | Observed action / outcome | Detail or qualification | +|---|---|---| +| [10:00–10:22](https://www.youtube.com/watch?v=CbfjWuRWH10&t=600) | Finish Sammy's Weedle with Bubble, four uses across the whole fight. Win 108. | The second Bubble is in progress at 10:00. Two more Poison Stings reduce HP 9→6→3; the fourth Bubble finishes it. A grows to Lv.8, 5/27 HP. No poison status or healing observed. | +| 10:24–10:54 | Leave Viridian Forest through the north gate, cross Route 2 into Pewter, enter the Gym. | Pass the Pokemon Center and Mart without entering. | +| 10:56–11:22 | Trigger Camper Liam's sightline. One Bubble defeats Geodude Lv.10. | A begins Lv.8, 5/27 HP, Bubble 25/30 PP; gains 183 EXP and reaches Lv.9, 7/29 HP. | +| 11:24–11:53 | Against Sandshrew Lv.11: Bubble, Bubble, Tackle (miss), Tackle (KO). | Sandshrew uses Sand-Attack, Defense Curl, then Sand-Attack. First Bubble leaves yellow HP, second leaves red. | +| 11:55–12:08 | A reaches Lv.10 and learns Withdraw into the empty fourth slot, then reaches Lv.11. Defeat Liam; win 220. | HP increases to 9/31 then 11/33. Both level increases occur after Sandshrew; do not drop the second one. | +| 12:10–12:35 | Approach Brock; one Bubble defeats Geodude Lv.12. | No intervening healing. A begins Brock at Lv.11, 11/33 HP. | +| 12:40–12:53 | Onix Lv.14 uses Rock Tomb; A answers with one Bubble, defeating it. | Rock Tomb reduces A from 11 to **1/33 HP** and lowers Speed. No Potion used. | +| 12:55–13:12 | A reaches Lv.12 (3/35 HP), then Lv.13 (6/38); replace **Tail Whip with Water Gun**. | Quarter-second menu inspection confirms deletion of slot 1. Before deletion: Tail Whip 30/30, Tackle 26/35, Bubble 20/30, Withdraw 40/40. Water Gun starts 25/25. | +| 13:14–13:37 | Defeat Brock; receive Boulder Badge, 1,400 prize money and TM39. | TM39 receipt visible at 13:30–13:31; continue reward dialogue before leaving. | +| 13:38–13:57 | Leave Gym, circle its north side, enter Pewter Mart and speak to clerk. | No Center stop or healing. | +| [13:58–14:08](https://www.youtube.com/watch?v=CbfjWuRWH10&t=838) | Buy **9 Potions, 3 Awakenings and 3 Repels**. | Quarter-second inspection confirms quantities. Money 4,808→2,108→1,358→308. Potion bag count was 0. The initial fast quantity scroll passes 11 before settling on 9; do not read that transient value as the purchase. | +| 14:09–14:32 | Exit Mart, go east, complete aide interruption and mother's letter. Receive Running Shoes. | Receipt at 14:21–14:22; letter continues after the aide walks away. | +| 14:33–14:48 | Enter Route 3; trigger Bug Catcher Colton. He sends Caterpie Lv.10. | A remains Lv.13, 6/38 HP. No post-shopping heal used. | +| 14:49–15:00 | Water Gun defeats Caterpie; Colton sends Weedle Lv.10. A begins another Water Gun. | Battle continues into next chunk. Do not count Weedle as defeated yet. | + +**Boundary state at 15:00:** Route 3, Colton battle, Water Gun against his +second Pokemon (Weedle Lv.10) underway. A is Squirtle Lv.13, 6/38 HP; +moves include Water Gun, Tackle, Bubble and Withdraw (slot order not yet audited). +Rattata remains the second party +member; no switch observed. Boulder Badge, TM39 and Running Shoes obtained. +Purchased inventory is 9 Potions, 3 Awakenings, 3 Repels, all unused here; +previous Antidote and four remaining Poke Balls are carried forward by observation +history, not a fresh bag audit. Money 308. No save/reset observed. + +**Automation relevance:** Brock's survival at 1 HP and the later 6 HP Route 3 +entry need an explicit risk/healing policy. Move replacement, two-level EXP +jumps, reward dialogue completion and multi-item purchases are distinct actions; +entering the next map alone does not verify their results. + + +## 15:00–20:00 — Route 3 training, Pidgey and Mt. Moon + +| Video time | Observed action / outcome | Detail or qualification | +|---|---|---| +| [15:00–15:24](https://www.youtube.com/watch?v=CbfjWuRWH10&t=900) | Finish Colton: Water Gun KOs Weedle Lv.10; one Water Gun KOs his second Caterpie Lv.10 (critical hit). Win 120. | A reaches Lv.14, 8/40 HP. All three Colton opponents fall to one Water Gun each across the chunk boundary. | +| 15:25–16:24 | Move east along upper Route 3 and battle Bug Catcher Greg. | Weedle, Caterpie, Kakuna and Metapod, all Lv.9: one Water Gun each, in that order. A reaches Lv.15, 10/42 HP after Metapod. Prize 108. | +| 16:25–16:59 | Battle Bug Catcher James farther east. | Caterpie Lv.11 and Metapod Lv.11 each fall to one Water Gun. Prize 132; A remains 10/42 HP. No heal between the three Bug Catchers. | +| [17:00–17:35](https://www.youtube.com/watch?v=CbfjWuRWH10&t=1020) | Enter grass below the eastern bend; encounter and capture Pidgey Lv.7. | One **Bubble** leaves yellow HP; Pidgey uses Sand-Attack. One Poke Ball succeeds. Bag shows four balls before use, so three remain by subtraction. Nickname prompt dismissed without opening keyboard; species name retained provisionally. No capture EXP. | +| 17:36–17:49 | Leave grass eastward, follow bend north to Route 4, pass Center, enter Mt. Moon. | No Center interaction, Magikarp purchase or heal observed. | +| 17:50–17:55 | Open bag and use first Repel. | Bag shows Antidote 1, Potions 9, Awakenings 3, Repels 3 before use. | +| 17:56–18:05 | Navigate east/south around cave walls and collect **Rare Candy** from item ball. | Receipt text at 18:04. Leave other visible item balls untouched. No tile coordinates assigned from video. | +| 18:06–18:15 | Double back west, Repel expires; open bag and use second Repel. | Repels 2 and Rare Candy 1 visible before use. | +| 18:16–18:30 | Approach Youngster Josh near a ladder on the western side; start battle. | A still Lv.15, 10/42 HP. | +| 18:31–18:39 | First Rattata Lv.10 uses Quick Attack, reducing A 10→5/42; one Water Gun KOs it. | No Potion despite low HP. | +| 18:40–18:53 | Second Rattata Lv.10 falls to one Water Gun. | Water Gun 15/25 PP before this use. A reaches Lv.16, 7/44 HP. | +| 18:54–19:12 | Zubat Lv.10 takes two Water Guns, using Leech Life between them. Defeat Josh; win 160. | Leech Life reduces A 7→5/44. | +| 19:13–19:37 | Allow Squirtle to evolve into **Wartortle**. | Confirmation visible at 19:34; evolution fully completes before movement resumes. No cancellation. | +| 19:38–19:50 | Descend nearby ladder, traverse narrow intermediate floor, descend another ladder into larger lower floor. | Follow passages and steps; avoid nearby Rocket sightlines during this stretch. | +| 19:51–20:00 | Repel expires; use third Repel, then continue east around lower-floor walls. | Bag shows last Repel 1 before use, Potions 9, Awakenings 3, Antidote 1 and Rare Candy 1. No heal. | + +**Boundary state at 20:00:** moving through Mt. Moon's lower floor, third Repel +active. A is Wartortle Lv.16; last pre-evolution HP reading was 5/44, and the +new maximum/current HP has not yet been read. Moves unchanged. Party now includes +Rattata Lv.3 and Pidgey Lv.7; their exact remaining HP is unverified. Three balls +remain by subtraction. Rare Candy 1 collected, no Repels left after this use; +Potions 9, Awakenings 3, Antidote 1 confirmed in bag. Money **828 derived** from +308 + 120 + 108 + 132 + 160; no fresh money display here. No save/reset observed. + +**Automation relevance:** distinguish intentional capture grass from ordinary +travel; use a species/role goal rather than assuming the first encounter is Pidgey. +Repel expiry interrupts movement and requires a new bag action in this version. +Treat evolution as its own blocking scene and refresh party state afterward. + + +## 20:00–25:00 — fossils, move tutoring, Cerulean preparation and Misty + +| Video time | Observed action / outcome | Detail or qualification | +|---|---|---| +| [20:00–20:18](https://www.youtube.com/watch?v=CbfjWuRWH10&t=1200) | Follow lower-floor passage and trigger Rocket Grunt near fossils. | Wartortle Lv.16 now visibly **10/49 HP**; refreshes the pre-evolution reading. | +| 20:19–20:39 | One Water Gun each defeats Rattata Lv.13 and Zubat Lv.13. Win 416. | No damage or healing; still 10/49 HP. | +| 20:40–20:53 | Approach Super Nerd Miguel at fossil platform and begin battle. | Grimer Lv.12 first. | +| 20:54–21:09 | Two Water Guns defeat Grimer; its Pound reduces A 10→6/49 HP. | A grows to Lv.17, 8/51 HP. | +| 21:10–21:29 | Two Water Guns defeat Voltorb Lv.12. | Voltorb uses Tackle (8→6/51 HP), then Screech before the second Water Gun. | +| 21:30–21:45 | One Water Gun defeats Koffing Lv.12. Win 288. | A grows to Lv.18, 9/54 HP. | +| 21:46–21:56 | Choose **Helix Fossil**, then finish Miguel's fossil-taking scene. | Receipt visible at 21:49; stored in Key Items. Right-hand fossil selected. | +| 21:57–22:06 | Ascend two ladders and exit Mt. Moon to eastern Route 4; approach right-hand move tutor. | No further cave encounter, heal or pickup observed. | +| [22:07–22:25](https://www.youtube.com/watch?v=CbfjWuRWH10&t=1327) | Teach **Mega Kick** to A, replacing **Withdraw**. | Detailed menu inspection confirms Withdraw selected. Menu order is now Tackle / Water Gun / Bubble / Withdraw before replacement; exact earlier reorder input has not been isolated. Water Gun 5/25, Bubble 19/30, Tackle 26/35. Party shows Rattata Lv.3, **10/15 HP** and Pidgey Lv.7, **5/24 HP**. | +| 22:26–22:39 | Jump ledges eastward, stay above grass, enter Cerulean and enter northwest house. | Do not infer that ignored visible item balls were picked up. | +| 22:40–22:53 | Walk through house to backyard, collect **hidden Rare Candy** in flower patch, return through house. | Receipt at 22:46. This is the second Rare Candy, separate from Mt. Moon's item ball. | +| 22:54–23:00 | Pass Center without entering; enter Cerulean Gym. | No nurse heal or PP refill. | +| 23:01–23:14 | Use first Rare Candy on A: Lv.18→19; learn **Bite over Bubble**. | A becomes 11/56 HP. Confirmation names forgotten Bubble. | +| 23:15–23:19 | Use second Rare Candy: Lv.19→20, 14/59 HP. | Rare Candy removed from bag after final use. | +| 23:20–23:28 | Use **two Potions** on A, restoring 14→34→54/59 HP. | Nine Potions before; seven after by two observed uses. Rattata/Pidgey not healed. | +| 23:29–23:51 | Follow Gym path around pool to Misty; bypass both Gym trainers and begin leader battle. | Moves visibly Tackle / Water Gun / Bite / Mega Kick. | +| 23:52–24:04 | Staryu Lv.18 uses Harden; A's **Bite critical hit** KOs it. | A stays 54/59 HP. | +| 24:05–24:29 | Two Bites defeat Starmie Lv.21. | First Swift is a critical hit, 54→25/59 HP; second Swift reduces 25→10. A reaches Lv.21, 12/61 HP after winning. | +| 24:30–24:42 | Receive Cascade Badge, 2,100 prize money and TM03. | Complete badge explanation and TM receipt before opening bag. | +| 24:43–24:56 | Use TM03 to teach **Water Pulse**, replacing **Tackle**. | Forgotten Tackle and learned Water Pulse confirmed. TM39 remains in TM Case. | +| 24:57–25:00 | Start walking back along Gym path toward exit. | No heal after Misty in this chunk. | + +**Boundary state at 25:00:** leaving Cerulean Gym, Wartortle A Lv.21, +12/61 HP. Moves now Water Pulse / Water Gun / Bite / Mega Kick in the observed +replacement order; verify the next battle menu before relying on slots. +Rattata Lv.3 10/15 and Pidgey Lv.7 5/24 last read during tutoring/preparation. +Boulder + Cascade Badges; Helix Fossil; TM03 consumed, TM39 retained. +Potions 7, Awakenings 3, Antidote 1, Poke Balls 3; all Repels and both Rare +Candies used. Money **3,632 derived** (828 + 416 + 288 + 2,100). +No save/reset or Center visit observed. + +**Automation relevance:** hidden items need an interaction target and receipt +check, not an item-ball detector. A level obtained by Rare Candy can interrupt +the bag workflow with move learning. This exact Misty outcome includes critical +hits on both sides; encode a battle policy, not a fixed assumption of identical +turn count or damage. Keep move identity separate from its current slot. + + +## 25:00–30:00 — Cerulean rival and Nugget Bridge + +| Video time | Observed action / outcome | Detail or qualification | +|---|---|---| +| [25:00–25:17](https://www.youtube.com/watch?v=CbfjWuRWH10&t=1500) | Leave Gym; use **one Potion** outside, then go north around the house toward bridge. | A restores 12→32/61 HP at 25:08. No Center visit. Six Potions remain by subtraction. | +| 25:18–25:33 | Rival RED approaches at bridge entrance and starts battle. | A Lv.21, 32/61 HP. Menu confirms Water Pulse / Water Gun / Bite / Mega Kick. | +| 25:34–25:45 | Pidgeotto Lv.17 uses Quick Attack; A uses Bite, then Water Pulse to KO. | HP 32→24/61. Bite is selected initially, then Water Pulse on the second turn; do not summarize as two Water Pulses. | +| 25:46–25:59 | Bulbasaur Lv.18: Bite causes flinch, then Mega Kick KOs. | No attack from Bulbasaur after the flinch; no further damage. | +| 26:00–26:13 | One Water Pulse KOs Abra Lv.16. | A reaches Lv.22, 27/64 HP. Visible totals: Attack 38, Defense 39, Sp. Atk 44, Sp. Def 44, Speed 37. | +| 26:14–26:28 | Rattata Lv.15 uses Quick Attack; one Water Pulse KOs it. Win 288. | HP 27→22/64. Opponent order is Pidgeotto, Bulbasaur, Abra, Rattata. | +| 26:29–26:48 | Finish rival dialogue; he walks away, returns, gives **Fame Checker**, then leaves again. | Receipt at 26:42. Do not resume bridge navigation after only the first departure. | +| 26:49–27:44 | Enter Route 24 and battle bridge trainer 1, Bug Catcher Cale. | Caterpie, Weedle, Metapod, Kakuna, all Lv.10, each defeated with one **Bite**. Prize 120. No healing/damage. | +| 27:45–28:32 | Battle bridge trainer 2, Lass Ali. | Pidgey Lv.12: one Bite; Oddish Lv.12: one Mega Kick; Bellsprout Lv.12: one Bite, **critical hit**. A reaches Lv.23, 24/66 HP. Prize 192. | +| 28:33–29:09 | Battle bridge trainer 3, Youngster Timmy. | Sandshrew Lv.14: one Bite; Ekans Lv.14: Intimidate triggers, then one Water Pulse KOs it. Prize 224. | +| 29:10–29:42 | Battle bridge trainer 4, Lass Reli. | Nidoran male Lv.16 then Nidoran female Lv.16: one Water Pulse each. Prize 256. A stays 24/66 HP. | +| 29:43–30:00 | Begin bridge trainer 5, Camper Ethan, against Mankey Lv.18. Use Water Pulse. | Water Pulse has 14/20 PP before this use. At 29:59 Mankey's HP bar has emptied; finish faint/EXP/victory sequence in next chunk. | + +**Boundary state at 30:00:** Camper Ethan's Mankey battle ending; do not count +his reward until its receipt. A Wartortle Lv.23, 24/66 HP; no party switch. +Water Pulse 13/20, Bite 13/25, Mega Kick 3/5 **derived from observed uses**; +Water Gun last read 5/25 before Misty and unused since. Fame Checker added. +Potions 6; other tracked consumables unchanged. Money **4,712 derived** +(3,632 + 288 + 120 + 192 + 224 + 256), before Ethan's reward. +No save/reset or nurse heal observed. + +**Automation relevance:** the rival's return-and-reward scene is a multi-stage +script. Bridge progression needs persistent defeated-trainer state across five +separate encounters; move choice varies by opponent rather than one attack +being held for the whole bridge. + + +## 30:00–35:00 — bridge reward, Route 25 items and Bill + +| Video time | Observed action / outcome | Detail or qualification | +|---|---|---| +| [30:00–30:07](https://www.youtube.com/watch?v=CbfjWuRWH10&t=1800) | Complete Ethan's Mankey faint/EXP/win sequence. Prize 360. | Same Water Pulse and same opponent as the end of the preceding chunk. | +| 30:08–30:20 | Talk to mystery trainer at bridge north end; receive **Nugget**, then recruitment dialogue leads to battle. | Receipt at 30:11 precedes the battle, not its victory reward. | +| 30:21–30:59 | Rocket Grunt: Ekans Lv.15 and Zubat Lv.15 each fall to one Water Pulse. Win 480. | Ekans triggers Intimidate; A reaches Lv.24, 27/69 HP after it. Finish post-battle recruitment dialogue. | +| 31:00–31:08 | Go east onto Route 25; interact with ground near northwest cliff to obtain **hidden Elixir**. | Receipt at 31:07; nearby item ball farther west is not collected. | +| 31:09–31:36 | Weave between shrubs and trainers; battle Hiker Wayne. | His Onix Lv.17 falls to one Water Pulse. Prize 612; no damage. | +| 31:37–32:11 | Continue east and battle Picnicker Kelsey. | Nidoran male Lv.15, then female Lv.15, one Water Pulse each. Prize 300. | +| 32:12–32:51 | Trigger Camper Flint's sightline and battle him. | Rattata Lv.14: one Water Pulse; Ekans Lv.14: Intimidate then one Water Pulse, **critical hit**. Prize 280. A still 27/69 HP. | +| 32:52–32:56 | Collect **hidden Oran Berry** near flower patch. | Receipt and Berry Pouch storage text visible; no giving/using it here. | +| 32:57–33:18 | Start Lass Haley battle near Bill's approach; first Oddish Lv.13 falls to one Mega Kick, critical hit. | A reaches Lv.25, 30/72 HP. | +| 33:19–33:25 | Decline learning **Rapid Spin**. | “A did not learn RAPID SPIN” confirmation. Keep existing moves. | +| 33:26–33:49 | Second Oddish Lv.13 falls to one Mega Kick. Pidgey Lv.13 uses Quick Attack, then falls to one Bite. Win 208. | Quick Attack reduces HP 30→27/72. Both Mega Kicks hit; this does not establish a guaranteed hit policy. | +| 33:50–33:56 | Pass Bill's house front, collect **hidden Ether** east of its door, return to enter. | Receipt at 33:54; distinct from hidden Elixir earlier. | +| [33:57–34:10](https://www.youtube.com/watch?v=CbfjWuRWH10&t=2037) | Speak to transformed Bill, agree to help, wait for him to enter machine, interact with PC. | Player initiates the separation sequence; dialogue alone is insufficient. | +| 34:11–34:27 | Wait through machine animation and Bill emerging/walking; approach human Bill. | No movement during the automatic machine sequence. | +| 34:28–34:38 | Speak to restored Bill; receive **S.S. Ticket** and complete explanation. | Receipt at 34:31–34:32. | +| 34:39–34:54 | Exit, take southern return corridor west across Route 25, then descend the east side of Nugget Bridge. | Return route bypasses the defeated-trainer shrub maze. | +| 34:55–35:00 | Open bag, move Potion down the item list, then **use Ether on A**. | Bag confirms Potions 6, Awakenings 3, Antidote 1, Nugget 1, Elixir 1, Ether 1. A remains 27/72 HP. Denser inspection confirms Ether selected at 34:57.5 and PP-restored message at 34:59.9. The move-selection cursor moves too quickly to identify its final target directly; subsequent PP use supports Mega Kick. | + +**Boundary state at 35:00:** PP-restoration confirmation beside the southern end +of the bridge; A Wartortle Lv.25, 27/72 HP, Ether used. +Moves unchanged; Water Pulse **6/20**, Bite **12/25** derived +from observed uses. Mega Kick was 1/5 before Ether; restoration to 5/5 is +inferred from subsequent uses and the unchanged Water Pulse PP. Rapid Spin declined. Nugget, Elixir, Ether, Oran Berry and +S.S. Ticket obtained. Ether consumed; all six Potions retained. Other party +members remain Rattata Lv.3 10/15, Pidgey Lv.7 5/24 in the party view. +Money **6,952 derived**. No save/reset or Center heal observed. + +**Automation relevance:** bag ordering changes independently of item identity. +Bill requires separate conversation, machine-entry wait, PC interaction, +animation wait, second conversation and ticket-receipt checks. Track hidden +pickups individually, including the unused PP-restoring items carried onward. + + +## 35:00–40:00 — Dig Rocket, Vermilion supplies and S.S. Anne + +| Video time | Observed action / outcome | Detail or qualification | +|---|---|---| +| [35:00–35:09](https://www.youtube.com/watch?v=CbfjWuRWH10&t=2100) | Finish Ether confirmation, close bag, enter robbed Cerulean house and exit through rear hole. | No Potion used at this boundary; A remains 27/72 HP. Ether details corrected in preceding block after dense menu review. | +| 35:10–35:30 | Speak to Rocket behind house; one Water Pulse defeats Machop Lv.17. | No damage. | +| 35:31–35:49 | Drowzee Lv.17: Mega Kick misses; Drowzee uses Confusion; second Mega Kick hits and KOs. Win 544. | HP 27→21/72. Explicit miss/retry demonstrates why a fixed successful-hit sequence is insufficient. | +| 35:50–35:55 | Recover **TM28** from Rocket; finish scene and leave east/south. | Receipt before departure; no return to house owner. | +| 35:56–36:22 | Run down Route 5's east edge, enter Underground Path, traverse south and emerge on Route 6. | Bypass Day Care and Saffron gate. No underground item interaction observed. | +| 36:23–36:29 | Loop north/west of Route 6's underground entrance and obtain **hidden Rare Candy**. | Receipt at 36:27. Third Rare Candy of run. | +| 36:30–36:47 | Follow route around pond and trigger Camper Jeff on southern approach. | Other visible trainers bypassed; no wild encounter. | +| 36:48–37:14 | Spearow Lv.16: one Water Pulse. Raticate Lv.16: Quick Attack, then one Water Pulse KOs. | HP 21→13/72, then A grows Lv.26, 15/74 HP. Reward text missed in one-second samples; next money total reconciles with a 320 reward, marked derived. | +| 37:15–37:23 | Enter Vermilion; go directly to Mart, passing Center. | No nurse heal. | +| [37:24–37:37](https://www.youtube.com/watch?v=CbfjWuRWH10&t=2244) | Buy **5 Super Potions, 3 Parlyz Heals, 3 Repels**. | First two quantities visible in baseline frames; Repels confirmed with quarter-second inspection. Money 7,816→4,316→3,716→2,666. No selling Nugget. | +| 37:38–37:54 | Go to harbor, show ticket at sailor, board S.S. Anne, turn west and take stairs. | No optional cabin/trainer or onboard healing visit. | +| 37:55–37:59 | Use **one Potion** on A. | 15→35/74 HP; bag Potions 6→5. This is the first Potion after the one outside Misty's Gym. | +| 38:00–38:05 | Use Route 6 Rare Candy: A Lv.26→27, 37/76 HP. | Rare Candy consumed; no new move prompt observed. | +| 38:06–38:28 | Traverse upper corridor east, then north toward captain; rival approaches and starts battle. | Water Pulse **3/20 PP** visible before choosing first attack; no PP refill on boarding. | +| 38:29–38:43 | Pidgeotto Lv.19: Bite, then Water Pulse (critical hit) KOs. | Opponent's Gust between them is also a critical hit, reducing HP 37→20/76. | +| 38:44–38:57 | Ivysaur Lv.20: Bite causes flinch, then Mega Kick KOs. | Same two-move pattern as prior rival Bulbasaur. | +| 38:58–39:08 | One Water Pulse KOs Raticate Lv.16. | Battle text confirms Water Pulse despite menu cursor briefly passing Water Gun. | +| 39:09–39:29 | Kadabra Lv.18 uses Disable on Water Pulse; one Bite KOs it. Win 720. | A grows Lv.28, 23/79 HP. Opponent order Pidgeotto, Ivysaur, Raticate, Kadabra. | +| 39:30–39:38 | Finish rival departure, climb stairs and approach captain. | No heal between rival and captain. | +| 39:39–39:54 | Speak to captain, back-rubbing scene; receive **HM01 Cut**. | Receipt at 39:49–39:51, then finish Cut explanation. | +| 39:55–40:00 | Leave captain room, open TM Case, teach **Cut to Rattata**. | Learning confirmation starts at 39:59; complete text/bag exit in next chunk. No move-deletion scene seen, consistent with an empty move slot. | + +**Boundary state at 40:00:** S.S. Anne upper stairs/corridor, Rattata Cut-learning +confirmation. A Wartortle Lv.28, 23/79 HP; moves unchanged. Water Pulse **1/20**, +Water Gun **5/25** (read at 39:00), Bite **9/25**, Mega Kick **2/5** (last two +counts derived, with Ether-to-Mega-Kick inference above). Rattata/Pidgey HP +unchanged. Potions 5, Super Potions 5, Parlyz Heals 3, Repels 3, Awakenings 3, +Antidote 1, Elixir 1, Nugget 1, Oran Berry 1. No Ether or Rare Candy left. +HM01 retained; TM28 and TM39 carried. Money **3,386 derived** (2,666 + 720). +No save/reset or Center/cabin heal observed. + +**Automation relevance:** teach field moves to the intended party member and +check their learned-move receipt. A new move can be disabled mid-battle; the +battle policy needs alternatives. Budget both HP and PP before optional travel; +this run is nearly out of Water Pulse despite having purchased healing supplies. + + +## 40:00–45:00 — ship heal, Surge switches, Thunder Badge and Bicycle + +| Video time | Observed action / outcome | Detail or qualification | +|---|---|---| +| [40:00–40:13](https://www.youtube.com/watch?v=CbfjWuRWH10&t=2400) | Confirm Rattata learned Cut; backtrack west along upper corridor, down stairs, east along main corridor, enter healing cabin. | No other onboard trainer battle. | +| 40:14–40:24 | Speak to cabin woman, accept rest, wait through healing fade, leave room. | First observed full-party healing stop since the early scripted restoration. A's next battle shows **79/79 HP**; Water Pulse PP also restored. Other party members' post-heal numeric HP not reopened here. | +| 40:25–40:49 | Exit ship; wait through S.S. Anne departure before walking north up gangway. | Departure animation consumes roughly 20 seconds; do not treat it as stalled navigation. | +| 40:50–41:04 | Leave harbor, go west to Gym tree, use Rattata's Cut, enter Gym. | Tree removed only after confirmation and field-move animation. | +| [41:05–41:19](https://www.youtube.com/watch?v=CbfjWuRWH10&t=2465) | Search trash cans through lower/left/upper portions of Gym; multiple “only trash” failures. | Brief menu opening around 41:16 does **not** show a completed save. Exact can-by-can coordinates and the purpose of this menu are not established by this action-summary pass. | +| 41:20–41:43 | Trigger Gentleman Tucker by upper-right barrier; one Water Pulse defeats Pikachu Lv.23. Win **1,656**. | Reward confirmed with quarter-second inspection. A remains Lv.28, 79/79 HP. Only this ordinary Gym trainer fought here. | +| 41:44–42:01 | Resume searching cans, down right side then back into central area; open/close bag briefly. | Bag at 42:00 confirms Potions 5, Super Potions 5, Parlyz Heals 3, Repels 3, Nugget 1, Elixir 1. No item use shown. | +| 42:02–42:04 | Find first switch and open first electric lock. | Receipt text confirmed with dense review; player stands among middle-row cans. Do not prescribe this run's random switch location as a fixed route tile. | +| 42:05–42:16 | **Save game** after finding first switch. | Warns that a different save already exists; confirm overwrite, wait through SAVING, then “A saved the game.” Visible save summary: player A, 2 badges, Pokedex 4, time 0:40. First completed save observed in reviewed footage. | +| 42:17–42:23 | Interact with adjacent can, open second lock; brief bag/menu opening, then walk through disabled barriers. | Both barriers visibly off by 42:22. No failed second-switch attempt or reset observed. Saving before the attempt is observed; its intended recovery strategy is an inference. | +| 42:24–42:40 | Approach Lt. Surge, advance introduction, begin battle. | A Lv.28, 79/79 HP. | +| 42:41–42:52 | Voltorb Lv.21 uses Screech; one Water Pulse KOs it. | No HP loss; Defense harshly lowered. | +| 42:53–43:02 | One Water Pulse KOs Pikachu Lv.18. | Water Pulse 18/20 PP before use, consistent with cabin refill and one use each on Tucker and Voltorb. | +| 43:03–43:12 | Raichu Lv.24 uses Double Team; A lands Water Pulse, leaving it green HP. | No miss on this Water Pulse. | +| 43:13–43:28 | Raichu uses Shock Wave; A lands Mega Kick and KOs it. Win 2,400 and Thunder Badge. | Shock Wave reduces A **79→43/79 HP**. Mega Kick hits despite raised evasion. No level increase. | +| 43:29–43:35 | Finish badge explanation and receive **TM34**. | Receipt at 43:32–43:33; no teaching it here. | +| 43:36–43:49 | Leave Gym, Cut the respawned entrance tree again, head north/west. | Tree exists again after leaving interior; previous Cut does not permanently clear it. | +| [43:50–44:16](https://www.youtube.com/watch?v=CbfjWuRWH10&t=2630) | Enter Pokemon Fan Club; speak to chairman and hear Rapidash story; receive **Bike Voucher**. | Receipt at 44:04–44:07; complete remaining explanation, then leave. | +| 44:17–44:41 | Head north through Route 6, cross small grass strip, enter Underground Path and traverse north to Route 5. | No wild battle, Repel use or new pickup observed. Do not infer that a brief grass crossing is guaranteed encounter-free. | +| 44:42–44:53 | Run north along Route 5's east path; Cut southern Cerulean tree and enter city. | Rattata field-move text at 44:49. This shortcut avoids returning through robbed house. | +| 44:54–45:00 | Enter Cerulean Bike Shop and exchange voucher for **Bicycle**. | Receipt text fully visible by 44:59.5 and still displayed at exact 45:00. Registration/riding has not yet been reviewed. | + +**Boundary state at 45:00:** inside Cerulean Bike Shop at Bicycle-exchange +confirmation. A Wartortle Lv.28, **43/79 HP**, moves Water Pulse / Water Gun / +Bite / Mega Kick. PP after cabin heal and observed Gym uses: Water Pulse **16/20**, +Water Gun **25/25**, Bite **25/25**, Mega Kick **4/5**, derived except the +intermediate Water Pulse reading. Rattata Lv.3 knows Cut; Pidgey Lv.7 remains +in party. Cabin rest is expected to restore their HP, but no post-rest numeric +party audit was captured; prior injured values should not be carried forward +as current readings. Three badges; TM34 added; Bicycle obtained, voucher +exchanged. Potions 5, Super Potions 5, Parlyz Heals 3, Repels 3, Awakenings 3, +Antidote 1, Nugget 1, Elixir 1, Oran Berry 1; no further uses in this block. +Money **7,442 derived** (3,386 + 1,656 + 2,400). One completed save at 42:16; +no reset observed. **Next review starts at 45:00, during this receipt dialogue.** + +**Automation relevance:** the trash puzzle is a search/state problem with +first-lock, second-lock and optional save/retry states, not a fixed walking +macro. This run succeeds on its observed second-lock attempt; it supplies no +visual example of failure recovery. A cabin heal, departure animation, Cut +animation, save write and lengthy chairman dialogue each require different +completion evidence. Field obstacles may reappear after map transitions. + + +## 45:00–50:00 — Bicycle, Route 9 and dark Rock Tunnel + +| Video time | Observed action / outcome | Detail or qualification | +|---|---|---| +| [45:00–45:11](https://www.youtube.com/watch?v=CbfjWuRWH10&t=2700) | Finish Bicycle receipt, leave shop, reorder Key Items and register Bicycle; mount outside. | TM Case moved lower in list; Bicycle shows SELECT registration marker. | +| 45:12–45:26 | Cut southern Cerulean tree again, cycle east/north around city, Cut Route 9 entrance tree. | Rattata performs both field moves. | +| 45:27–46:23 | Battle Picnicker Alicia. Oddish Lv.18: Mega Kick; Bellsprout Lv.18: Bite; second Oddish Lv.18: Mega Kick; second Bellsprout Lv.18: Bite. | One hit each. A reaches Lv.29, 45/81 HP after first Bellsprout. Prize 360. | +| 46:24–46:42 | Drop ledge, cycle east around rock formations, trigger Bug Catcher Conner. | Other visible trainers bypassed. | +| 46:43–47:19 | Caterpie Lv.20 and Weedle Lv.20 each fall to one Bite. Venonat Lv.20: Mega Kick misses, Supersonic confuses A, second Mega Kick hits and KOs. | No self-hit or HP loss; Mega Kick shows 1/5 before retry and is exhausted afterward. Prize 240. | +| 47:20–47:26 | Collect **hidden Rare Candy** at northeast rock corner, then drop ledge eastward. | Receipt at 47:23. | +| 47:27–47:37 | Reach Route 10, bypass Center, Cut tree west of Center and enter Rock Tunnel. | Tunnel remains dark; no Flash use. | +| 47:38–47:46 | Use **Elixir on A**, then first newly purchased Repel; mount Bicycle. | Elixir receipt restores PP. Party now confirms Rattata **15/15**, Pidgey **24/24**, validating the earlier cabin heal. A 45/81. | +| 47:47–48:32 | Pokemaniac Ashton: Cubone Lv.23 falls to one Water Pulse; Slowpoke Lv.23 takes two Bites, using Tackle between them. | A loses 6 HP, then grows Lv.30, **42/84 HP**. Prize 1,104. | +| 48:33–48:51 | Continue through dark passages, descend ladder and trigger Pokemaniac Winston. | Small light radius only; exact path tiles not transcribed. | +| 48:52–49:11 | Slowpoke Lv.25 takes two Bites; Water Gun between them reduces A 42→39/84 HP. | Win; reward text not captured in baseline frames, amount unverified here. | +| 49:12–49:45 | Picnicker Martha: Oddish Lv.22 and Bulbasaur Lv.22 each fall to one Mega Kick. Prize 440. | Mega Kick 5/5 before Oddish, 4/5 before Bulbasaur, confirms Elixir refill. | +| 49:46–49:59 | Repel expires; use second Repel (two in bag before use), continue and trigger Hiker. | Battle transition underway at 50:00; trainer identity not yet displayed. | + +**Boundary at 50:00:** dark Rock Tunnel, new Hiker battle starting. A Wartortle +Lv.30, **39/84 HP**; moves unchanged, Mega Kick 3/5, Bite 21/25 and Water Pulse +19/20 derived after Elixir and observed uses. Rare Candy 1 unused; Repels 1 left, +second application active; Elixir consumed. Other medicine unchanged from 45:00. +No healing, save or reset in this block. Winston's prize remains unverified; +do not carry a falsely precise money total beyond that point. + +**Automation relevance:** Bicycle registration/mounting and moving Key Items +are separate menu actions. This dark-tunnel route would need map-local position +and transition evidence; the tiny visible radius cannot justify invented video +coordinates. Confusion and an exhausted move require battle-policy branches. + + +## 50:00–55:00 — Rock Tunnel exit, Lavender supplies and Route 8 + +| Video time | Observed action / outcome | Detail or qualification | +|---|---|---| +| [50:00–50:20](https://www.youtube.com/watch?v=CbfjWuRWH10&t=3000) | Hiker Allen's Geodude Lv.25 falls to one Water Pulse. Prize 900. | A remains 39/84 HP. Water Pulse 19/20 before use confirms preceding count. | +| 50:21–51:23 | Traverse ladder and battle Hiker Oliver: first Onix Lv.20 takes two Bites, using Harden between; second Onix Lv.20 falls to Water Pulse; Geodude Lv.20 falls to Bite. | A reaches Lv.31, 41/86 HP, after second Onix; **decline Protect**. Prize 720. | +| 51:24–51:38 | Traverse another ladder, use last ordinary Repel, approach Picnicker Sofia. | Repel 1 visible before use; no ordinary Repels afterward. | +| 51:39–52:19 | Sofia: Jigglypuff, Pidgey and Meowth, all Lv.21, each defeated with one Water Pulse. Prize 420. | Menu at 51:48 shows **Water Gun / Water Pulse / Bite / Mega Kick**; the two water moves have swapped relative to earlier menus. Exact swap input not isolated. | +| 52:20–53:09 | Hiker Dudley: two Geodude Lv.21, one Bite each; Graveler Lv.21, one **Water Gun**. Prize 756. | A reaches Lv.32, 44/89 HP. Different water move deliberately selected for Graveler; no damage. | +| 53:10–54:01 | Traverse another ladder, battle Picnicker Dana: Meowth Lv.20, Bite; Oddish Lv.20, Mega Kick; Pidgey Lv.20, Bite after its Quick Attack. | One hit each; HP 44→39/89. Reward text missed; amount unverified in this pass. | +| 54:02–54:17 | Exit Rock Tunnel south to Route 10; cycle past trainers into Lavender and enter Mart. | No Center heal or Pokemon Tower visit. | +| [54:18–54:29](https://www.youtube.com/watch?v=CbfjWuRWH10&t=3258) | Buy **4 Escape Ropes and 7 Super Repels**, then leave. | Quarter-second review confirms final quantities, not transient scrolling values. Money **13,982→11,782→8,282**. No Nugget sale. | +| 54:30–54:50 | Cycle west onto Route 8; trigger Gamer Rich. Growlithe Lv.24 triggers Intimidate. | A still Lv.32, 39/89 HP. | +| 54:51–55:00 | One **Water Gun** defeats Growlithe. Rich battle continues. | 24/25 Water Gun PP before use. Next opponent not yet displayed. | + +**Boundary at 55:00:** Route 8, Gamer Rich fight, Growlithe defeated and next +send-out pending. A Lv.32, **39/89 HP**; observed move order Water Gun / Water +Pulse / Bite / Mega Kick. PP derived: 23/25, 14/20, 14/25, 2/5 respectively. +Rare Candy 1 unused; Escape Ropes 4, Super Repels 7, ordinary Repels 0. Last +ordinary Repel may still be active; expiry not yet observed. Other medicine +unchanged. Money **8,282 directly read** reconciles prior unknown rewards +without inventing their individual amounts. No heal/save/reset in this block. + +**Automation relevance:** decline unwanted level-up moves without accidentally +replacing a useful one. The runner conserves stronger-water-move PP with Water +Gun and Bite on selected opponents; fixed-slot or single-attack policies miss +both the reorder and this resource management. + + +## 55:00–1:00:00 — Celadon Rocket Hideout and Arbok trouble + +| Video time | Observed action / outcome | Detail or qualification | +|---|---|---| +| [55:00–55:15](https://www.youtube.com/watch?v=CbfjWuRWH10&t=3300) | Gamer Rich sends Vulpix Lv.24; one Water Gun KOs it. Finish battle. | Prize text not captured in baseline; no damage. | +| 55:16–55:46 | Cycle west past Route 8 trainers, enter east–west Underground Path, emerge Route 7 and enter Celadon Game Corner. | No grass battle, heal or Saffron gate visit. | +| 55:47–56:25 | Fight poster guard: Raticate Lv.20, one Mega Kick; Zubat Lv.20, one Water Pulse. Prize 640. | A remains Lv.32, 39/89 HP. | +| 56:26–56:38 | Press switch behind poster; descend newly revealed stairs, then B2F and B3F stairs. | Poster interaction is separate from defeating guard. | +| 56:39–56:50 | Traverse B3F arrow-floor puzzle; detour south to collect **BlackGlasses**, then take B4F stairs. | Receipt at 56:47. Not equipped yet. Exact arrow entry tiles not transcribed; source frames preserve route. | +| 56:51–57:30 | Fight Lift Key Grunt: Koffing Lv.21 and Zubat Lv.21, one Water Pulse each. Prize 672. | A reaches Lv.33, 42/92 HP after Koffing. | +| 57:31–57:38 | Finish dropped-key dialogue; pick up **Lift Key** from floor, return upstairs. | Receipt at 57:33. Winning alone does not obtain key. | +| 57:39–57:48 | Collect **Rare Candy** beside B3F arrow tiles, return to B2F. | Receipt 57:42; now two Rare Candies carried, including Route 9 pickup. | +| 57:49–58:09 | Traverse B2F arrow maze, collect **Moon Stone**, reach lift and select B4F. | Moon Stone receipt at 57:52. Stops/arrow rides are observed; no tile/input sequence asserted. | +| 58:10–59:01 | Fight left door guard: Sandshrew Lv.23, Bite; Sandslash Lv.23, Water Gun; Ekans Lv.23, Water Pulse. Prize 736. | One hit each; Ekans Intimidate. No damage. | +| 59:02–59:43 | Start right door guard: Ekans Lv.23 falls to Water Pulse; Sandshrew Lv.23 to Water Gun; Arbok Lv.23 enters and triggers Intimidate. | Water Pulse 10/20 before Ekans, 9/20 afterward. | +| 59:44–59:59 | Bite damages Arbok. Its Glare paralyzes A; subsequent Bite makes A flinch, then Poison Sting damages A while full paralysis prevents the selected attack. | HP 42→34 from Bite, then 34→29 from Poison Sting. Water Pulse selected but no successful use in these turns. Another Poison Sting begins at 59:59. Fight unresolved. | + +**Boundary at 1:00:00:** right B4F door guard's Arbok fight, A Wartortle Lv.33, +**paralyzed**, last settled HP **29/92** with another Poison Sting underway. +Arbok remains green HP. PP last evidenced/derived: Water Gun 20/25, Water Pulse +9/20, Bite 12/25, Mega Kick 1/5. Lift Key, BlackGlasses, Moon Stone and a second +Rare Candy obtained. BlackGlasses not yet given. No healing, save or reset in +this block. Resume the same troubled battle; do not count it as won. + +**Automation relevance:** trainer victory, dropped-key dialogue and physical +key pickup are distinct events. Forced arrow motion needs stop-tile recognition. +Paralysis, flinching and prevented attacks make both turn count and PP accounting +conditional; selected moves are not necessarily executed moves. + + +## 1:00:00–1:05:00 — Blastoise, Giovanni, Fly and Tower rival setup + +| Video time | Observed action / outcome | Detail or qualification | +|---|---|---| +| [1:00:00–1:00:24](https://www.youtube.com/watch?v=CbfjWuRWH10&t=3600) | Finish Arbok fight: Poison Sting reduces HP 29→24; full paralysis; Bite reduces 24→16 and flinches A; Arbok uses Leer, then A finally lands Water Pulse and KOs. Prize 736. | A reaches Lv.34, 18/94 HP, still paralyzed. Same battle as preceding block. | +| 1:00:25–1:00:38 | Use **one Parlyz Heal**, then both Rare Candies: Lv.34→35→36. | Paralysis cured; two Parlyz Heals remain. HP becomes 21/97 then 23/99. | +| 1:00:39–1:01:04 | Allow Wartortle to evolve into **Blastoise**. | Next battle confirms **38/114 HP**; no Potion used. | +| 1:01:05–1:02:04 | Battle Giovanni: Onix Lv.25 and Rhyhorn Lv.24 each fall to one Water Gun; Kangaskhan Lv.29 takes two Water Pulses, using Tail Whip between. Prize 2,900. | No HP loss; A stays Lv.36, 38/114. | +| 1:02:05–1:02:17 | Finish Giovanni departure, pick up **Silph Scope**, use **Escape Rope**. | Scope receipt 1:02:10; Rope exits to Game Corner front. Three Ropes remain. | +| 1:02:18–1:02:41 | Cycle to Department Store, use lift to 5F and approach battle-item clerk. | No Center heal. | +| 1:02:42–1:02:55 | Buy **6 X Speeds, 21 X Specials, 5 X Accuracies and 2 Guard Specs.** | Quantities supported by subsequent bag counts and money: 15,694→13,594→6,244→1,494→94. No sale. | +| 1:02:56–1:03:31 | Lift to 1F, exit, cycle west, Cut Route 16 northern tree, traverse gatehouse and enter secluded house. | Bypass Snorlax using northern route. | +| 1:03:32–1:03:49 | Receive **HM02 Fly**, leave house, teach **Fly to Pidgey**. | Receipt and learned Fly confirmed; no move-deletion scene. | +| 1:03:50–1:03:58 | Use **one Super Repel**, give **BlackGlasses to A**, **throw away Moon Stone**. | Bag Super Repels 7→6; held-item confirmation; explicit discard-one Moon Stone message. | +| 1:03:59–1:04:11 | Select Pidgey's Fly and Lavender destination; arrive outside Center, walk into Pokemon Tower. | Landing outside Center is not a nurse heal. | +| 1:04:12–1:04:35 | Climb to rival floor; trigger RED, who sends Pidgeotto Lv.25. | A begins 38/114 HP. | +| 1:04:36–1:04:54 | Use **two X Specials**, taking Gust then Quick Attack (38→30→22/114). One Water Gun KOs Pidgeotto. | X Special 21→20 shown between uses; boosts persist for this battle. | +| 1:04:55–1:05:00 | Ivysaur Lv.25 enters; A uses Water Pulse. | Damage animation underway at boundary; do not count Ivysaur defeated yet. | + +**Boundary at 1:05:00:** Tower rival battle, Water Pulse against Ivysaur underway. +A Blastoise Lv.36, **22/114 HP**, BlackGlasses held, two X Special boosts active. +Water Gun / Water Pulse / Bite / Mega Kick remain moves. Water Gun 17/25 and +Water Pulse 5/20 after this announced use are derived; Bite 12/25, Mega Kick 1/5. +Pidgey knows Fly; Rattata knows Cut. Rare Candies 0, Parlyz Heals 2, Escape Ropes 3, +Super Repels 6 (one active), X Specials 19, X Speeds 6, X Accuracies 5, Guard Specs 2. +Moon Stone discarded; Silph Scope obtained. Money 94 before unfinished rival win. +No save/reset or full heal in this block. + +**Automation relevance:** stat increases from candies/evolution are not healing +item uses. Sequence evolution, held-item setup and battle boosts explicitly; +route goals now include Fly destinations and the Silph Scope story gate. + + +## 1:05:00–1:10:00 — Tower rival finish, Marowak and upstairs Rockets + +| Video time | Observed action / outcome | Detail or qualification | +|---|---|---| +| [1:05:00–1:05:07](https://www.youtube.com/watch?v=CbfjWuRWH10&t=3900) | Water Pulse finishes Ivysaur Lv.25 from previous block. | One attack total against it; no damage to A. | +| 1:05:08–1:05:29 | Gyarados Lv.23 triggers Intimidate; two Bites defeat it, first causing flinch. | A grows Lv.37, **24/116 HP**. | +| 1:05:30–1:06:01 | Growlithe Lv.22: one Bite after Intimidate. Kadabra Lv.20: one Water Gun. Win 900; finish rival departure dialogue. | No further damage. Opponent order across blocks: Pidgeotto, Ivysaur, Gyarados, Growlithe, Kadabra. | +| 1:06:02–1:06:35 | Climb through grave mazes, avoiding initial Channelers and central healing area. | No wild encounter or heal; next battle still shows 24/116 HP. Stair transitions visible. | +| 1:06:36–1:06:59 | Channeler Tammy: Haunter Lv.23 falls to one Water Gun. | No damage; reward text not captured. | +| 1:07:00–1:07:27 | Channeler Jennifer: Gastly Lv.24 falls to one Water Gun. Prize 768. | Water Gun 15/25 before use. | +| 1:07:28–1:07:52 | Channeler Emilia: Gastly Lv.24 falls to one Water Gun. | No damage; reward text not captured. | +| 1:07:53–1:08:03 | Collect **Rare Candy** in southern grave pocket; approach blocked staircase. | Receipt at 1:07:57. One carried. | +| 1:08:04–1:08:31 | Silph Scope reveals ghost as **Marowak Lv.30**; one Water Pulse KOs it. Finish spirit-departure dialogue. | A grows Lv.38, **27/119 HP**. No capture attempt. | +| 1:08:32–1:09:19 | Climb top floor; first Rocket Grunt: two Zubat Lv.25, one Water Gun each; Golbat Lv.25, one Water Pulse. Prize 800. | No damage; Water Pulse 4/20 before Golbat. | +| 1:09:20–1:10:00 | Trigger next Rocket Grunt: Koffing Lv.26, one Water Gun; Drowzee Lv.26, one Water Pulse. Win 832. | Water Gun 11/25 before Koffing, Water Pulse 3/20 before Drowzee. Fading back to overworld at boundary. | + +**Boundary at 1:10:00:** top Tower floor, second Rocket just defeated; Fuji and +another Rocket remain ahead. A Blastoise Lv.38, **27/119 HP**, BlackGlasses held; +PP Water Gun **10/25**, Water Pulse **2/20**, Bite **9/25**, Mega Kick **1/5**, +last two derived. Rare Candy 1. No item use, full heal, save or reset in this +block. X Special boosts applied to the rival fight are not carried into later +battles. Other tracked inventory unchanged. + +**Automation relevance:** distinguish wild encounters from the scripted +uncatchable Marowak encounter and its departure dialogue. The runner bypasses +healing while preserving low HP; copying the route needs an explicit policy. +Silph Scope possession is observable through ghost identification, not merely +having reached the Tower staircase. + + +## 1:10:00–1:15:00 — Fuji, Tea, Cycling Road and Safari rewards + +| Video time | Observed action / outcome | Detail or qualification | +|---|---|---| +| [1:10:00–1:10:11](https://www.youtube.com/watch?v=CbfjWuRWH10&t=4200) | Second Rocket departs; trigger third Rocket near Fuji. | Continues previous block's victory. | +| 1:10:12–1:11:03 | Third Rocket: two Zubat Lv.23, one Bite each; Rattata Lv.23, one critical Bite; Raticate Lv.23, one critical Water Gun. Win **736**. | Rattata's Quick Attack reduces A **27→21/119 HP**. Water Gun 10/25 before Raticate. | +| 1:11:04–1:11:24 | Talk to Fuji, teleport to his Lavender house; approach and talk again to receive **Poke Flute**. | Receipt around 1:11:17–20. The Tower conversation alone does not give the reward. | +| 1:11:26–1:11:39 | Pidgey uses Fly to **Celadon**; mount bike, head west. Repel wears off. | Land outside Center; no nurse visit. | +| 1:11:40–1:11:55 | Enter Celadon Mansion, talk to old lady at table, receive **Tea**, leave. | Receipt around 1:11:47–49. | +| 1:11:57–1:12:26 | Approach Route 16 Snorlax, play flute through interaction; enter **Snorlax Lv.30** battle and **RUN successfully**. Finish its departure text. | No attack or capture. Overworld obstacle disappears after fleeing. | +| 1:12:27–1:12:42 | Pass Cycling Road gate, cycle downhill along eastern side. Brief menu open/close near bikers. | No actual save observed; reason for menu is unresolved. | +| 1:12:43–1:12:53 | Collect hidden **Rare Candy**, then hidden **Max Elixir** farther downhill. | Two Rare Candies carried including Tower pickup. No trainer battles on this road. | +| 1:12:54–1:13:23 | Continue east through Route 18 to Fuchsia; enter Safari Zone, pay **500**, receive **30 Safari Balls**. | Money directly visible **5634→5134**; reconciles intervening unread prizes. | +| 1:13:24–1:13:47 | Take eastern Safari path; menu shows **548/600 steps** remaining. Use **Super Repel**; continue by bike and collect **Full Restore**. | Super Repels **6→5**. Pickup near rest house around 1:13:45–47. | +| 1:13:48–1:14:14 | Continue through grass, ponds and stairways; collect **Gold Teeth** around 1:14:07–09; enter Secret House. | No Safari encounter/capture observed. Exact tile path not measured here. | +| 1:14:15–1:14:37 | Talk to attendant, receive **HM03 Surf**; leave, use Pidgey's **Fly to Fuchsia**. | HM receipt around 1:14:19–21. Exit by Fly rather than waiting for 600 steps or selecting Retire. | +| 1:14:38–1:14:54 | Bike directly into Fuchsia Gym; open bag along right-side route. Use **Oran Berry** on A, **21→31/119 HP**. | Bag shows Parlyz Heal 2, Escape Rope 3, Super Repel 5, X Speed 6, X Special 19, X Accuracy 5. Berry Pouch had one Oran Berry. | +| 1:14:55–1:15:00 | Open TM Case and begin teaching **Surf** to A. | Move replacement is still pending at boundary; do not assume which move was deleted yet. | + +**Boundary at 1:15:00:** inside Fuchsia Gym, Surf teaching in progress. +A Blastoise Lv.38, **31/119 HP**, BlackGlasses held. Before the pending +replacement: Water Gun **9/25**, Water Pulse **2/20**, Bite **6/25**, Mega Kick +**1/5** (PP derived from previous boundary and attacks). Rare Candy 2, +Max Elixir 1, Full Restore 1; Gold Teeth, Tea, Poke Flute and HM03 obtained. +Super Repel 5, Oran Berry 0, money **5134**. No full heal, save or reset +observed. Gold Teeth have not yet been returned; Strength is not yet obtained. + +**Automation relevance:** flute obstacle handling can end in a successful +flee, rather than a mandatory KO/capture. Fuji needs a second conversation +after teleportation. Safari travel has its own step/ball counters and can end +with Fly; it does not require a general wild-battle/capture policy. Hidden +road items need explicit pickup targets. Preserve the distinction between +receiving Surf and successfully teaching it. + + +## 1:15:00–1:20:00 — Koga at low HP, Strength and Cinnabar approach + +| Video time | Observed action / outcome | Detail or qualification | +|---|---|---| +| [1:15:00–1:15:13](https://www.youtube.com/watch?v=CbfjWuRWH10&t=4500) | Finish teaching **Surf**, replacing **Water Gun**. Close menus. | Next battle confirms move slots **Surf / Water Pulse / Bite / Mega Kick**. Surf starts 15 PP. | +| 1:15:14–1:16:17 | Juggler Kirk: Drowzee Lv.31, Drowzee Lv.31, Kadabra Lv.31, Drowzee Lv.31. **One Surf each**; Kadabra hit is critical. | A grows **Lv.39, 34/122 HP** after first Drowzee. No damage. Prize number not captured. | +| 1:16:18–1:16:33 | Follow the Gym's invisible-wall corridor around upper edge, then approach Koga from west. | Other trainers bypassed; no additional battle. | +| 1:16:34–1:17:23 | Koga: **Koffing Lv.37**, one Surf; **Muk Lv.39**, two Surfs with enemy **Minimize** between them; second **Koffing Lv.37**, one Surf. | A grows **Lv.40, 38/126 HP** after Muk; neither Surf misses after Minimize. No player setup item used. | +| 1:17:24–1:17:42 | **Weezing Lv.43** survives Surf in red HP; its **Sludge** reduces A **38→4/126 HP**. Koga uses **Hyper Potion**; A uses **Bite** on that turn. | Weezing is restored to full before Bite damage. No player healing or status cure. | +| 1:17:43–1:18:03 | **Critical Surf** defeats Weezing. Win **4300**; receive **Soul Badge** and **TM06**. | A survives at **4/126 HP**. This is the observed outcome, not a generally safe battle recipe. | +| 1:18:04–1:18:24 | Retrace wall corridor, leave Gym, cycle east to Warden's house. | Pass Center without entering. | +| 1:18:25–1:18:39 | Give **Gold Teeth** to Warden; receive **HM04 Strength**, leave. | Receipt 1:18:34–36. No Strength teaching, boulder push or house item collection in this visit. | +| 1:18:40–1:18:59 | Use **Super Repel** (**5→4**), then **Potion** on A (**4→24/126 HP**, Potions **5→4**). Pidgey uses **Fly to Pallet**. | No full heal. Other party HP visible: Rattata 15/15, Pidgey 24/24. | +| 1:19:00–1:19:23 | Bike to Pallet's water edge, activate **Surf**, travel south on **Route 21**, reach Cinnabar, enter **Pokemon Mansion**. | Avoid swimmers; no wild battle. Surf works after Soul Badge. No visit to mother or Cinnabar Center. | +| 1:19:24–1:19:39 | Walk Mansion stairs up twice; press statue's secret switch on upper floor. | Explicit switch interaction at 1:19:37–38. Tile path not measured. | +| 1:19:40–1:19:59 | Use **Super Repel** (**4→3**); take floor drop, descend staircase to basement; press basement statue switch. | Drop around 1:19:46–48; switch 1:19:56–57. Trainers avoided. | + +**Boundary at 1:20:00:** Mansion basement, moving west from the statue after +pressing its switch. A Blastoise **Lv.40, 24/126 HP**, BlackGlasses held. +Moves Surf / Water Pulse / Bite / Mega Kick; derived PP **5/15, 2/20, 5/25, +1/5**. Rare Candy 2, Max Elixir 1, Full Restore 1, Potions 4, Super Repel 3, +Escape Rope 3. HM04 obtained; Gold Teeth delivered. Koga is defeated; no +Secret Key yet. No full heal, save or reset observed. + +**Automation relevance:** Koga's Hyper Potion changes the required attack +sequence; low-HP survival and a critical hit make this unsuitable as an +unconditional scripted win. Gym navigation needs wall geometry and trainer +avoidance. Mansion navigation adds switch-dependent doors and a deliberate +floor drop. Obtaining Strength does not establish that it has been taught. + + +## 1:20:00–1:25:00 — Secret Key, Blaine and return for Erika + +| Video time | Observed action / outcome | Detail or qualification | +|---|---|---| +| [1:20:00–1:20:23](https://www.youtube.com/watch?v=CbfjWuRWH10&t=4800) | Traverse Mansion basement; collect hidden **Elixir** (1:20:06–07), press another statue switch (1:20:09–10), collect **TM14** (1:20:15) and **Secret Key** (1:20:21–22). | No trainer or wild battle in Mansion. | +| 1:20:24–1:20:36 | Use **Escape Rope** to leave Mansion; bike into Cinnabar Gym. | Escape Ropes **3→2**. No Center stop or healing. | +| 1:20:37–1:21:43 | Answer all six quiz machines correctly, opening doors and bypassing every Gym trainer. | In order: Caterpie→Metapod **YES**; nine badges **NO**; Poliwag evolves three times **NO**; Electric effective against Ground **NO**; same kind/level Pokemon not identical **YES**; TM28 Tombstony **NO**. Prompts and successful door passage observed; some cursor changes occur between sampled frames. | +| 1:21:44–1:22:13 | Trigger Blaine; **Growlithe Lv.42** uses Intimidate, then falls to one **Surf**. | A begins **Lv.40, 24/126 HP**. No setup items. | +| 1:22:14–1:22:42 | **Ponyta Lv.40**, one Surf; **Rapidash Lv.42**, one Surf. | A grows **Lv.41, 26/128 HP** after Ponyta. Surf **3/15** before Rapidash. | +| 1:22:43–1:23:09 | **Arcanine Lv.47** uses Intimidate, falls to one Surf. Receive **Volcano Badge**, **4700**, and **TM38 Fire Blast**. | No enemy damaging turn or player item use; A remains 26/128 HP. Surf now 1/15, derived. | +| 1:23:10–1:23:44 | Walk back through open quiz rooms and exit. Bill approaches outside Gym; **decline** his island invitation, finish departure. | No Sevii trip. Refusal evident in his response and remaining on Cinnabar; choice cursor not captured in one-second pass. | +| 1:23:45–1:24:10 | Use Pidgey's **Fly to Celadon**, bike south, **Cut** entrance tree and enter Celadon Gym. | No Center visit. | +| 1:24:11–1:24:29 | Take west aisle; Beauty Tamia approaches and triggers battle. | Her sightline triggers on the way toward the northern area. | +| 1:24:30–1:24:59 | Tamia: two **Bellsprout Lv.24**, **one Bite each**. Grow **Lv.42, 29/131 HP**; decline **Rain Dance**; win **1728**. | Bite 5/25 before first, 4/25 before second. No damage. Overworld fade at boundary. | + +**Boundary at 1:25:00:** Celadon Gym west aisle after Tamia; Erika not yet +challenged. A Blastoise **Lv.42, 29/131 HP**, BlackGlasses held. Moves remain +Surf / Water Pulse / Bite / Mega Kick; derived PP **1/15, 2/20, 3/25, 1/5**. +Elixir 1 and TM14 newly collected; Secret Key obtained, Blaine defeated. +Rare Candy 2, Max Elixir 1, Full Restore 1, Potions 4, Super Repel 3, +Escape Rope 2. No save, reset or full heal observed. + +**Automation relevance:** the badge order is **Koga, Blaine, then Erika** here. +Gym quizzes can avoid six battles, but require question-aware answers and door +confirmation. Bill's invitation needs an explicit refusal branch. Mansion +completion includes confirmed key receipt and Escape Rope exit; reaching the +key room alone is insufficient. PP is now nearly exhausted across all moves, +so carry this state into the next menu sequence. + + +## 1:25:00–1:30:00 — Erika, Saffron access and Silph rival setup + +| Video time | Observed action / outcome | Detail or qualification | +|---|---|---| +| [1:25:00–1:25:29](https://www.youtube.com/watch?v=CbfjWuRWH10&t=5100) | Use both **Rare Candies** on A: **Lv.43, 32/134 HP**, then **Lv.44, 35/137 HP**. Teach **TM14 Blizzard**, replacing **Mega Kick**. | Before replacement: Surf 1/15, Water Pulse 2/20, Bite 3/25, Mega Kick 1/5 directly visible. Blizzard starts 5/5. | +| 1:25:30–1:26:03 | Cut inner Gym tree; Beauty Lori approaches. **Exeggcute Lv.24**, one **Bite**, wins. | No damage. Prize number missed in sampled text. | +| 1:26:04–1:26:41 | Challenge Erika: **Victreebel Lv.29**, one **Surf**; **Tangela Lv.24**, one **Bite**. | No damage. Last Surf PP consumed; Bite 2/25 before Tangela. | +| 1:26:42–1:27:06 | **Vileplume Lv.29**, one **Blizzard**; win **2900**, receive **Rainbow Badge** and **TM19**. | Blizzard hits; A remains **35/137 HP**. No setup items or healing. | +| 1:27:07–1:27:29 | Leave Gym; use **Fly to Celadon** to land at Center entrance, then bike east through Route 7. | Same-city Fly avoids walking back around the Cut entrance. No nurse visit. | +| 1:27:30–1:27:43 | Gate guard takes **Tea** and allows passage. Enter **Saffron**, bike directly into **Silph Co.** | Tea obtained much earlier, at 1:11. No Fighting Dojo or Sabrina visit here. | +| 1:27:44–1:28:14 | Climb stairs to **3F**; use warp pads via **5F**, briefly **9F**, then back to 5F corridor. Collect **Card Key** at 1:28:11–12. | No trainer battle. Warp routing bypasses guard rather than defeating him. Exact pad coordinates not measured. | +| 1:28:15–1:28:27 | Use **Max Elixir** on A, then **Super Potion**, restoring **35→85/137 HP**. | Max Elixir consumed; Elixir and Full Restore remain. Super Potions **5→4**, confirmed bag after use. All four moves' PP restored; HP restoration is separate. | +| 1:28:28–1:28:53 | Warp briefly to 9F and back to 5F; open Card Key door. Warp to 3F, open another door, take pad to rival's **7F** room. | Brief bag opening at 1:28:37–38; no additional consumed item established. No heal on 9F. | +| 1:28:54–1:29:10 | Rival dialogue and battle; **Pidgeot Lv.37** first. | A starts **Lv.44, 85/137 HP**. | +| 1:29:11–1:29:27 | Use **two X Specials**, then **one X Accuracy**, while Pidgeot repeatedly uses **Wing Attack**. | Bag X Specials **19→18→17**; X Accuracy **5→4**. HP after the three enemy turns **85→65→47→27/137**; intermediate animation values should not be counted as separate attacks. | +| 1:29:28–1:29:38 | **Critical Water Pulse** KOs Pidgeot. | One attack against it after setup. No additional damage. | +| 1:29:39–1:29:54 | **Venusaur Lv.40**, one **Blizzard** KOs; A grows **Lv.45, 30/140 HP**. | Water Pulse 19/20 directly visible before changing selection. Blizzard hits after X Accuracy. | +| 1:29:55–1:30:00 | **Gyarados Lv.38** sent out; **Intimidate** resolves. | Rival battle continues; Gyarados is still at full HP and A has not attacked it. | + +**Boundary at 1:30:00:** Silph Co. 7F rival battle, Gyarados Lv.38 just sent +out after Pidgeot and Venusaur were defeated. A Blastoise **Lv.45, 30/140 HP**, +BlackGlasses held, **two X Special boosts and one X Accuracy active**. +Moves Surf / Water Pulse / Bite / Blizzard; PP **15/15, 19/20, 25/25, 4/5** +(restore and subsequent uses reconciled). Rare Candy 0, Max Elixir 0, +Elixir 1, Full Restore 1, Potions 4, Super Potions 4, Parlyz Heal 2, +Super Repel 3, Escape Rope 2, X Speed 6, X Special 17, X Accuracy 4, +Guard Spec. 2. Card Key obtained; Erika defeated. No full HP heal, save or +reset observed. Next block must continue this fight, not count a rival win yet. + +**Automation relevance:** same-city Fly is a useful travel edge. Silph routing +needs a warp graph, key-controlled doors and correct destination recognition; +visiting a floor does not imply fighting or healing there. Distinguish +PP-restoring items from HP medicine and account for move replacement before +restoration. The rival setup deliberately spends HP on three enemy turns; +copying it requires damage margins and recovery branches, especially with only +30 HP left for Gyarados. Critical hits are observations, not prerequisites to +assume for an automated route. + + +## 1:30:00–1:35:00 — Silph rival finish, Giovanni, Sabrina + +| Video time | Observed action / outcome | Detail or qualification | +|---|---|---| +| [1:30:00–1:30:09](https://www.youtube.com/watch?v=CbfjWuRWH10&t=5400) | Continue the 7F rival fight: one **Blizzard** KOs **Gyarados Lv.38**; gain 1741 EXP. | Gyarados's Intimidate resolved at 1:29:59. A stays **30/140 HP**; Gyarados did not attack. | +| 1:30:10–1:30:24 | **Growlithe Lv.35** (Intimidate again); one **Bite** KOs it; gain 682 EXP. | Bite 25/25 before use (move menu 1:30:16). | +| 1:30:25–1:30:34 | **Alakazam Lv.35**; one **Surf** KOs it; gain 1395 EXP. | No damage taken in the whole rival fight after the setup turns. | +| 1:30:35–1:30:49 | Rival defeated; win **1440**. Post-battle dialogue; rival leaves. | A remains **Lv.45, 30/140 HP**. | +| 1:30:50–1:30:59 | Warp to **11F** (label at 1:30:50); a Rocket grunt stops the player ("Stop right there!"). | Exact pad sequence from 7F not measured. | +| 1:31:00–1:31:41 | Grunt: **Cubone Lv.32** (Bite), **Marowak Lv.32** (Water Pulse), **Drowzee Lv.32** (Water Pulse), one hit each. A grows **Lv.46, 33/143 HP**. Win **1024**. | EXP 595, 849, 699. No damage taken. | +| 1:31:42–1:31:53 | **Card Key** opens the boardroom door; Giovanni's pre-battle dialogue. | Player walks up to Giovanni beside the president's desk. | +| 1:31:54–1:32:50 | **Giovanni (Silph)**: **Nidorino Lv.37** Surf, **Nidoqueen Lv.41** Surf, **Kangaskhan Lv.35** Surf, **Rhyhorn Lv.37** Water Pulse; one hit each. Win **4100**. | Surf 12/15 before Kangaskhan (move menu 1:32:26). A stays **33/143 HP** throughout. | +| 1:32:51–1:32:55 | Giovanni leaves. **No president / Master Ball visit observed**; the player turns away at once. | Do not infer the Master Ball or Lapras gift. | +| 1:32:56–1:32:59 | Use **Escape Rope** from the bag. | Bag before use: Parlyz Heal 2, Escape Rope 2, Super Repel 3, X Speed 6, X Special 17, X Accuracy 4 (Guard Spec. 2, Full Restore 1 visible a frame earlier). | +| 1:33:00–1:33:08 | Land in **Saffron**; bike straight to **Saffron Gym** and enter. | No Center visit, no heal. | +| 1:33:08–1:33:29 | Warp-pad route through the Gym to **Sabrina**; no Gym trainer battles seen. | Pad sequence not measured. | +| 1:33:30–1:34:05 | **Sabrina**: **Kadabra Lv.38**, one Surf (A → **Lv.47, 36/146**); **Mr. Mime Lv.37**, one Surf. | EXP 1180, 1077. | +| 1:34:07–1:34:22 | **Venomoth Lv.38**: use one **X Speed** (6→5); Venomoth's **Psybeam** takes A **36→25/146**; one Surf KOs. | Surf **9/15** before the attack (1:34:14). | +| 1:34:23–1:34:38 | **Alakazam Lv.43**, one Surf; Sabrina defeated, win **4300**, **Marsh Badge**. | EXP 1713. A **Lv.47, 25/146 HP**. | +| 1:34:39–1:34:49 | Receive **TM04** (Calm Mind) and Sabrina's closing text. | | +| 1:34:50–1:34:53 | Use the last **Escape Rope** (1→0); appear outside in Saffron. | Bag at 1:34:50 shows Escape Rope 1 before use. | +| 1:34:54–1:34:59 | START → POKéMON → **Fly** (field move on Pidgey); town map open. | Party: A Lv.47 25/146; Rattata Lv.3 15/15; Pidgey Lv.7 24/24. | + +**Boundary at 1:35:00:** Fly map open in Saffron. A Blastoise **Lv.47, 25/146 +HP**, BlackGlasses held. Surf about 7/15 after Sabrina (derived), Water Pulse +~16/20, Bite 24/25, Blizzard 4/5. Escape Rope 0, X Speed 5, X Special 17, +X Accuracy 4, Guard Spec. 2, Full Restore 1, Elixir 1, Super Potion 4, +Parlyz Heal 2, Super Repel 3. Badges: all except Earth. No heal or save seen. + +**Automation relevance:** Silph's boss route skips the president's gift +entirely; a default route may want it. Two Escape Ropes are spent as fast exits +from Silph and the Gym, so an automation needs either the item or a walk-out +route. One X Speed is used only against Venomoth; per-opponent item use is a +battle-plan detail, not a general rule. + +## 1:35:00–1:40:00 — Viridian Gym, Earth Badge and Route 22 + +| Video time | Observed action / outcome | Detail or qualification | +|---|---|---| +| [1:35:00–1:35:04](https://www.youtube.com/watch?v=CbfjWuRWH10&t=5700) | Fly (Pidgey animation) to **Viridian City**; land at the Center. | | +| 1:35:05–1:35:13 | Bike south-east to the **Viridian Gym** and enter. | No Center visit. | +| 1:35:13–1:35:22 | Ride the spinner tiles; **Black Belt Takashi** stops the player. | Spinner path not measured. | +| 1:35:23–1:36:07 | Takashi: **Machoke Lv.38**, **Machop Lv.38**, **Machoke Lv.38**, one Surf each. A grows **Lv.48, 28/149 HP**. | EXP 1188, 715, then the third. No damage taken. | +| 1:36:08–1:36:20 | More spinners; **Cooltrainer Warren** sees the player (!) and approaches. | | +| 1:36:21–1:37:30 | Warren: **Marowak Lv.37** ×2, **Rhyhorn Lv.38**, **Nidorina Lv.39**, **Nidoqueen Lv.39**, one **Water Pulse** each. | Water Pulse **13/20** before Nidorina (1:37:07). EXP 982, 982, —, 976, 1620. A stays **28/149**. | +| 1:37:31–1:37:46 | Spinners to **Giovanni**; dialogue. | | +| 1:37:47–1:38:59 | **Giovanni (Gym)**: **Rhyhorn Lv.45**, **Dugtrio Lv.42**, **Nidoqueen Lv.44**, **Nidoking Lv.45**, **Rhyhorn Lv.50**, one Water Pulse each. A grows **Lv.49, 32/153 HP** after the first. | Water Pulse **9/20** before Nidoqueen (1:38:24) and **7/20** before the last Rhyhorn (1:38:51). No damage taken. | +| 1:39:00–1:39:21 | Giovanni defeated: **Earth Badge**, win **5000**, receive **TM26** (Earthquake). | | +| 1:39:22–1:39:32 | Spinner back to the entrance; leave. | | +| 1:39:33–1:39:40 | Bike west out of Viridian to **Route 22**. | | +| 1:39:41–1:39:42 | Use a **Super Repel** (3→2). | | +| 1:39:43–1:39:48 | Use **Full Restore** on A: **32→153/153** ("restored by 121"). | Full Restore 1→0. Guard Spec. viewed at 1:39:49, not used. | +| 1:39:50–1:39:59 | Bike west; the **rival** walks over ("You collected all the BADGES… warm-up") and the battle starts. | | + +**Boundary at 1:40:00:** Route 22 rival battle starting. A Blastoise +**Lv.49, 153/153 HP** (full), BlackGlasses. Water Pulse about 6/20 (derived), +Surf ~7/15, Bite 24/25, Blizzard 4/5. Full Restore 0, Elixir 1, Super Repel 2, +X Speed 5, X Special 17, X Accuracy 4, Guard Spec. 2, Super Potion 4, +Parlyz Heal 2. All eight badges. + +**Automation relevance:** Viridian Gym is spinner routing plus two forced +trainers; it needs a spinner model, not walk-to-wall legs. The run heals once, +with its only Full Restore, right before the Route 22 rival, not at a Center. + +## 1:40:00–1:45:00 — Route 22 rival, Badge Gates and Victory Road + +| Video time | Observed action / outcome | Detail or qualification | +|---|---|---| +| [1:40:00–1:40:09](https://www.youtube.com/watch?v=CbfjWuRWH10&t=6000) | Route 22 rival: **Pidgeot Lv.47** sent out. | A starts **Lv.49, 153/153 HP**. | +| 1:40:10–1:40:28 | Use **one X Accuracy** (4→3) and **one X Special** (17→16). Pidgeot uses **Wing Attack** (153→126), **FeatherDance** ×2 (Attack harshly fell). | Bag lists confirm both counts. | +| 1:40:26–1:40:39 | Pidgeot's Wing Attack (126→99). One **Surf** KOs Pidgeot; A grows **Lv.50, 102/156 HP**. | Surf **4/15** before use (1:40:29). Stats at Lv.50 shown: HP 156, Atk 105, Def 107, SpA 121, SpD 122, Spe 105. | +| 1:40:43–1:40:55 | **Venusaur Lv.53**: one **Blizzard**, KO. | EXP 2361. | +| 1:40:57–1:41:08 | **Rhyhorn Lv.45**: one **Bite**, KO. | EXP 1300. | +| 1:41:08–1:41:29 | **Gyarados Lv.45** (Intimidate): Bite (not very effective); Gyarados's **Hydro Pump** 102→88; one **Blizzard** KOs. | Bite **21/25** before the Blizzard selection (1:41:21). | +| 1:41:30–1:41:56 | **Growlithe Lv.45** (Intimidate): use **X Speed** (5→4); Growlithe uses Agility; one **Bite** KOs. A grows **Lv.51, 91/159**. | X Special now 15 in the bag view: a second X Special was used at an unsampled moment (16→15). | +| 1:41:57–1:42:10 | **Alakazam Lv.47**: one **Surf**, KO. Rival defeated; win **1908**. | Surf about 3/15 left (derived). | +| 1:42:11–1:42:22 | Rival leaves; bike west and north through the Route 22 gate and **Route 23**. | No Center visit. | +| 1:42:23–1:43:19 | **Badge checks** at the Route 23 gates: Boulder, Cascade, Thunder, Rainbow, Soul (Surf across water between gates), Marsh, Volcano, Earth. | Each guard's check is a forced dialogue on a fixed tile. | +| 1:43:20–1:43:21 | Enter **Victory Road**. | | +| 1:43:24–1:43:41 | Open the bag, then the **TM case**: teach **HM04 Strength**. The move-forget screen shows Surf **2/15**, Water Pulse **6/20**, Bite **20/25**, Blizzard **1/5**; one move is forgotten ("1, 2 and… Poof!"). | The forgotten slot is not readable at 1 fps. The Lorelei move menu at 1:47:13 shows **Surf / Strength / Bite / Blizzard**, so **Water Pulse** was replaced. | +| 1:43:44–1:44:59 | Strength boulder puzzle: push the first boulder onto its switch, climb, a second boulder, ladders; use **Super Repel** (2→1) at 1:44:43. Avoid trainers. | No battles seen. Exact pushes not measured. | + +**Boundary at 1:45:00:** Victory Road, mid-route after the second boulder. +A Blastoise **Lv.51, 91/159 HP**, moves Surf 2/15 / Strength 15/15 / +Bite 20/25 / Blizzard 1/5. Super Repel active (1 left). X Speed 4, +X Special 15, X Accuracy 3, Guard Spec. 2, Elixir 1, Super Potion 4, +Parlyz Heal 2. Full Restore 0. + +**Automation relevance:** Water Pulse is deleted for Strength right before the +Elite Four, and PP is very low (Surf 2, Blizzard 1). The Elixir and the League's free heal are +the planned recovery. Badge gates are fixed forced dialogues; Victory Road is a +boulder puzzle that needs a push model. + +## 1:45:00–1:50:00 — Victory Road exit, Indigo Plateau, Lorelei, Bruno starts + +| Video time | Observed action / outcome | Detail or qualification | +|---|---|---| +| [1:45:00–1:45:37](https://www.youtube.com/watch?v=CbfjWuRWH10&t=6300) | Finish the Victory Road boulder puzzle: more Strength pushes (1:45:18–1:45:35), ladders between floors. | No battles. The Super Repel runs out on the last floor ("REP…" message at 1:45:42); not renewed. | +| 1:45:44–1:45:52 | Exit to **Route 23**'s top; bike up to the **Indigo Plateau**. | | +| 1:45:53–1:45:56 | Enter the Center; walk past the nurse to the PC. | Party HP is **full** when Lorelei starts (159/159) and Bite is **25/25**, so a nurse heal happened here, unsampled. | +| 1:45:57–1:46:09 | **Bill's PC → Deposit**: put **Pidgey** and **Rattata** in Box 1. | Party is now only **A**. | +| 1:46:15–1:46:21 | Plateau Mart: buy **Full Restores** (₽3000 each). | Money **₽41,818** before. Quantity not readable at 1 fps; the bag shows **Full Restore 13** at 1:48:36, so about **13** were bought (if the count was 0 before). | +| 1:46:22–1:46:33 | Walk into **Lorelei**'s room; her dialogue. | No save observed before the Elite Four. | +| 1:46:37–1:46:47 | Lorelei: **Dewgong Lv.52**. Open the bag on turn 1 (cursor on **X Speed**, 4 left); whether it was used is not readable. | Dewgong uses **Surf**: **159→152→140** (not very effective). | +| 1:46:53–1:47:09 | Use **X Special** twice (15→13→12, "A's Sp. Atk rose!"). Dewgong's **Ice Beam** (140→121), **Surf** (121→101), then **Safeguard**. | Bag counts read at 1:47:01 (13) and 1:47:08 (12). | +| 1:47:13–1:47:27 | Dewgong: **Bite** ×2 (one flinch), KO. | Move menu at 1:47:13: **Surf / Strength / Bite / Blizzard**, Bite **25/25**. EXP 1960. | +| 1:47:28–1:47:37 | **Cloyster Lv.51**: Bite, KO. | EXP 2218. | +| 1:47:40–1:47:54 | **Slowbro Lv.52**: Bite (critical hit), KO. | EXP 1827. | +| 1:47:55–1:48:09 | **Jynx Lv.54**: Surf, KO. A grows **Lv.52, 104/162**. | Safeguard ends. EXP 1584. | +| 1:48:14–1:48:29 | **Lapras Lv.54**: Bite; Lapras's **Body Slam** ×2 (104→71, **paralysis**; 71→33). Lapras's Sitrus Berry restores it. | Bite **21/25** before (1:48:16). | +| 1:48:34–1:48:39 | Use **Full Restore** (13→12): **33→162/162**, paralysis cured. | X Special **11** in the same bag view (one more X Special used earlier, unsampled). | +| 1:48:41–1:48:53 | Lapras's Body Slam (162→130); one Bite (critical hit) KOs. Lorelei defeated; win **5400**. | | +| 1:48:57–1:49:09 | Lorelei's closing text; walk to **Bruno**'s room; his dialogue. | | +| 1:49:15–1:49:33 | Bruno: **Onix Lv.51**. Use **X Accuracy**? (bag on X Accuracy 3 at 1:49:25) then **X Special** (11→10→9). Onix's **Rock Tomb** (130→118→114, Speed fell) and **Earthquake** (114→79→42). | Counts read at 1:49:34 (10) and 1:49:40 (9). Whether X Accuracy was used is not certain. | +| 1:49:45–1:49:55 | One **Surf** KOs Onix. | A stays **42/162**. | +| 1:49:56–1:49:59 | **Hitmonchan Lv.53** sent out; A uses Surf. | Outcome in the next block. | + +**Boundary at 1:50:00:** Bruno's battle, Hitmonchan Lv.53, A's Surf in +progress. A **Lv.52, 42/162 HP**, two to three X Special boosts active. +Moves Surf / Strength / Bite / Blizzard. Full Restore 12, X Special 9, +X Speed 4, X Accuracy 3 (or 2), Guard Spec. 2, Elixir 1, Super Potion 4, +Parlyz Heal 2. Party: A only. + +**Automation relevance:** the Plateau stop is heal, deposit everything except +the starter (so no other Pokémon can be sent in), and bulk Full Restores. The +Elite Four plan is X Special stacking on the first opponent, then one hit per +Pokémon, healing with Full Restore when HP or status demands it. + +## 1:50:00–1:55:00 — Bruno, Agatha and Lance + +| Video time | Observed action / outcome | Detail or qualification | +|---|---|---| +| [1:50:00–1:50:07](https://www.youtube.com/watch?v=CbfjWuRWH10&t=6600) | The Surf from the last block KOs **Hitmonchan Lv.53**. | EXP 1590. A **42/162**. | +| 1:50:08–1:50:18 | **Hitmonlee Lv.53**: one Surf, KO. | | +| 1:50:20–1:50:34 | **Machamp Lv.56**: one Surf, KO. A grows **Lv.53, 45/165**. | | +| 1:50:35–1:50:49 | **Onix Lv.54**: one Surf, KO. Bruno defeated; win **5600**. | EXP 1249. No damage taken after the first Onix. | +| 1:50:51–1:51:08 | Walk to **Agatha**'s room; her dialogue. | No heal between Bruno and Agatha (A still 45/165). | +| 1:51:12–1:51:31 | Agatha: **Gengar Lv.54**. Use **X Speed** (3→2) and **X Special** (9→8, "Sp. Atk rose"). Gengar uses **Double Team** twice. | Counts read at 1:51:18 (X Speed 3, USE) and 1:51:25 (X Speed 2). | +| 1:51:33–1:51:39 | One **Surf** KOs Gengar. | EXP 2197. | +| 1:51:43–1:51:54 | **Golbat Lv.54**: one Surf, KO. | EXP 1978. | +| 1:51:55–1:52:14 | **Arbok Lv.56** (Intimidate): one Surf (critical), KO. A grows **Lv.54, 48/168**. | Stats at Lv.54: HP 168, Atk 114, Def 116, SpA 130, SpD 131, Spe 113. | +| 1:52:16–1:52:26 | **Gengar Lv.58**: one Surf, KO. | Surf **6/15** before use (1:52:17). EXP 2361. | +| 1:52:28–1:52:39 | **Haunter Lv.53**: one Surf, KO. Agatha defeated; win **5800**. | A **48/168**. | +| 1:52:42–1:52:57 | Walk to **Lance**'s room. | | +| 1:52:59–1:53:05 | Before talking to Lance: **Full Restore** (12→11) on A, **48→168/168**. | Bag at 1:52:59 shows X Speed 2, X Special 8, X Accuracy 3, Guard Spec. 2, Elixir 1; Full Restore 11 at 1:53:05. The "restored by 12…" text is cut off at 1 fps. | +| 1:53:07–1:53:23 | Lance's dialogue; battle starts. **Gyarados Lv.56** (Intimidate). | | +| 1:53:31–1:53:36 | A uses **Bite**; Gyarados uses **Dragon Rage** (168→128). | | +| 1:53:38–1:53:44 | Bag opened on **Guard Spec.** (2); not used. Gyarados's **Bite** (128→121→89, critical). | | +| 1:53:46–1:53:50 | Use **X Accuracy** (3→2). Dragon Rage (89→64→49). | Bag at 1:53:52 shows X Accuracy 2. | +| 1:53:54–1:53:56 | **Full Restore** (11→10): **49→168/168** ("restored by 119"). | | +| 1:53:58–1:54:01 | Gyarados's **Hyper Beam**: **168→78/168**. | | +| 1:54:02–1:54:14 | A uses **Blizzard** (Gyarados must recharge), then again; Gyarados KO. | EXP 2568. | +| 1:54:16–1:54:29 | **Dragonair Lv.54**: one Blizzard, KO. | EXP 1665. | +| 1:54:30–1:54:42 | Second **Dragonair Lv.54**: one Blizzard, KO. A grows **Lv.55, 81/171**. | | +| 1:54:43–1:54:50 | A tries to learn **Skull Bash**; answer **Yes** to "Stop learning Skull Bash?" | Moves unchanged. | +| 1:54:51–1:54:59 | **Dragonite Lv.60** sent out; A uses **Blizzard** (super effective). | Outcome in the next block. A **81/171**. | + +**Boundary at 1:55:00:** Lance's battle, Dragonite Lv.60 just hit by Blizzard. +A Blastoise **Lv.55, 81/171 HP**, moves Surf / Strength / Bite / Blizzard, +X Accuracy boost active. Full Restore 10, X Speed 2, X Special 8, +X Accuracy 2, Guard Spec. 2, Elixir 1, Super Potion 4, Parlyz Heal 2. + +**Automation relevance:** Blizzard's 5 PP are reserved for Lance's dragons, +with one **X Accuracy** right before them; earlier opponents use Surf or Bite. +Full Restore is used at a threshold (49 HP against Gyarados) and once before +Lance at 48 HP. Refusing an unwanted move must answer "Stop learning? Yes". + +## 1:55:00–2:00:00 — Lance finish, Champion, Hall of Fame + +| Video time | Observed action / outcome | Detail or qualification | +|---|---|---| +| [1:55:00–1:55:05](https://www.youtube.com/watch?v=CbfjWuRWH10&t=6900) | The Blizzard from the last block KOs **Dragonite Lv.60**. | | +| 1:55:06–1:55:19 | **Aerodactyl Lv.58**: its **AncientPower** takes A **81→74→37/171**; one **Surf** KOs it. | Surf **4/15** before use (1:55:08). | +| 1:55:20–1:55:29 | Lance defeated; win **6000**. Lance's closing text. | | +| 1:55:30–1:55:39 | **Full Restore** (10→9) on A: **37→171/171**. | Bag at 1:55:34. | +| 1:55:44–1:55:58 | Walk to the Champion room; rival's speech; battle starts. | No save. | +| 1:56:02–1:56:09 | **Champion**: **Pidgeot Lv.59**. | A **Lv.55, 171/171**. | +| 1:56:11–1:56:12 | Use **Guard Spec.** (2→1): "Ally became shrouded in Mist". | | +| 1:56:13–1:56:24 | Pidgeot's **Aerial Ace**: **171→128→84** (critical), **84→82**. | | +| 1:56:20–1:56:21 | Bag on **X Accuracy** (2); a use is not readable at 1 fps. | | +| 1:56:25–1:56:34 | Use **X Speed** (2→1) and **X Special** (7→6); Pidgeot's Sand-Attack blocked by Mist. A at **42/171**. | Counts at 1:56:27 and 1:56:33. | +| 1:56:35–1:56:37 | Pidgeot's **Aerial Ace**: **42→6→3/171**. | No heal: the run continues at **3 HP**. | +| 1:56:38–1:56:46 | One **Surf** KOs Pidgeot. | EXP 2173. | +| 1:56:49–1:56:54 | **Venusaur Lv.63**; Mist wears off. Use **X Special** (6→5) and **X Accuracy** (2→1? "A's accuracy rose!"). | Bag at 1:56:53 shows X Special 5, then 1:56:54 "A's accuracy rose!" with X Accuracy 2 listed before the use. | +| 1:56:57–1:57:09 | Venusaur takes in sunlight (SolarBeam); **Blizzard** (5/5 shown at 1:56:59) KOs it first. A grows **Lv.56, 6/174**. | Survives at 3 HP because Venusaur charges. | +| 1:57:15–1:57:27 | **Alakazam Lv.57**: one **Surf** (critical), KO. | Surf **12/15** (1:57:18): the Elixir was used at an unsampled moment between Lance and here. | +| 1:57:30–1:57:43 | **Rhydon Lv.59**: one Surf, KO. | | +| 1:57:44–1:57:56 | **Gyarados Lv.59** (Intimidate). **Full Restore** (9→8): **6→174/174** ("restored by 168"). | Bag at 1:57:51 shows X Accuracy **1**. | +| 1:57:58–1:58:11 | Gyarados's **Hydro Pump misses**. One **Blizzard** (critical) KOs it. | Bite 25/25 shown while choosing (1:58:01). | +| 1:58:14–1:58:31 | **Arcanine Lv.61** (Intimidate): **ExtremeSpeed** 174→155→131; one **Surf** KOs. A grows **Lv.57, 134/177**. | | +| 1:58:38–1:58:42 | Champion defeated ("My reign is over already?"). | | +| 1:58:43–1:59:20 | Rival and Oak's scene; walk with Oak to the **Hall of Fame** room. | Fixed scripted walk. | +| 1:59:22–1:59:27 | **SAVING… DON'T TURN OFF THE POWER** (automatic Hall of Fame save). | | +| 1:59:28–1:59:41 | Hall of Fame: **A / BLASTOISE, Lv.57, IDNo.39569**; "Welcome to the HALL OF FAME!". Trainer card: **TIME 1:54** (in-game clock). | The run timer stops at the Hall of Fame. | +| 1:59:43–2:00:00 | Credits begin outside the Indigo Plateau. | | + +**Boundary at 2:00:00:** run finished; credits rolling. Final: A Blastoise +**Lv.57, 134/177 HP**, the only party member. Full Restore 8, X Special 5, +X Speed 1, X Accuracy ~1, Guard Spec. 1, Super Potion 4, Parlyz Heal 2, +Elixir 0 (used, unsampled). + +## 2:00:00–2:03:57 — credits + +Staff credits over map flyovers and Pokémon cameos (Venusaur, Blastoise), +then **THE END** at 2:03:52. No inputs matter. Sheets for 2:00:00–2:00:59, +2:01:30–2:01:59, 2:02:30–2:02:59 and 2:03:30–2:03:56 were inspected; the others +were skipped as credits only. + +**Automation relevance (Elite Four and Champion, 1:45–2:00):** +- One Pokémon, deposited down to a party of one at the Plateau, so nothing + else can be sent in; a fainted A is a loss. +- Healing is threshold-based with Full Restore (about 13 bought; 5 used), plus + the one Elixir for PP. The run still stands at 3 HP against Venusaur: + copying it needs a stricter heal rule than the speedrunner's. +- Stat items are spent on the first opponent of each Elite Four member + (X Special/X Speed/X Accuracy, Guard Spec. against Pidgeot). Effects end on + switch, which never happens with a party of one. +- Move choice is per opponent type: Bite for Lorelei's waters, Surf for + Bruno/Agatha, Blizzard (5 PP, held back) for Lance's dragons and the + Champion's Venusaur and Gyarados. + +## AutoStory implications + +These are proposals derived from the observations, not additional video facts: + +- Add explicit short-name entry to the route profile if reproducing this run; + do not silently change the MVP's no-nickname/default-name choices. +- Define a **level/move goal** for early training, such as obtaining Bubble, + rather than assuming two encounters or these exact opponents always occur. + This run fights Rattata and Pidgey on the parcel journey; our MVP initially + flees Route 1 wilds and trains in the forest instead. +- Track move identities and reordering explicitly. Fixed slot assumptions + become wrong at the observed Pidgey menu action, before Bubble is learned. +- A tutorial win is needed for this exact EXP route. Our MVP permits losing + that fight; a loss needs an alternative training plan rather than continuing + with assumed Lv.6/7 and Bubble. +- Observe script-provided HP/PP restoration rather than sending the player + to an unnecessary nurse or carrying the pre-heal HP forward. +- Bind symbolic starter selection to the appropriate version/map script + and verify the received species; do not derive tile coordinates from the + scaled video image alone. +- Keep RNG setup as a separate researched route choice. The Trainer Card + check is worth investigating, not enough to prescribe a seed manipulation. +- Add a separate **capture policy** between training and ordinary travel if + following this route: one Bubble then a successful capture is observed, but + an automation needs bounded outcomes for misses, knockouts, escapes and ball + failures. A captured Pokemon is not a defeated one and grants no assumed EXP. +- Keep tutorial battle state separate from player party/inventory state. + The old man's Potion, single ball and captured Weedle must not mutate the + tracked player bag or party. +- After obtaining Bubble and the selected capture, this run flees all three + forest wild encounters seen here. Separate training, capture and flee modes; + do not infer that every forest encounter should be fought. +- Explicitly reconcile healing/status policy before the Sammy fight. This + run begins it at 16/25 HP and reaches 9/25 while continuing to attack. That + is an observed speedrun choice, not a recommended default safety margin. +- Use observed key-item receipts and completed scene boundaries for the + Parcel/Pokedex and Teachy TV events. An entered lab or ended tutorial fade + alone does not establish all rewards were received. + +## Next-pass checklist + +For each chunk, retain linked timestamps and explicit unknowns. At the end, +record party/moves/HP/level/items that are actually visible, the player's last +observed location, and the next in-progress action. When a battle crosses the +boundary, continue the same fight rather than summarizing it twice as two wins. From ec4740521167ceae0b7851ba01efcf654ce7cd04 Mon Sep 17 00:00:00 2001 From: dayfine Date: Mon, 2 Nov 2026 13:56:10 -0800 Subject: [PATCH 4/6] Design: FRLG item duplication, team plan and money plan Replaces the reserved ACE row with an item_dupe option (the Knock Off + Recycle mail glitch, new checkpoint 06.07, Tower rows renumbered), adds a team plan (HM users, in-game trades, level targets per fight, GRIND steps) and a money plan worked backwards from the purchases, with a decomp-sourced ledger and the Vs. Seeker loop count behind a nugget_bridge_loop option. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01AKYzhrMnPK61XHWEch4a6E --- docs/design/AutoStory-FRLG-FutureEvents.md | 301 +++++++++++++++++++-- 1 file changed, 281 insertions(+), 20 deletions(-) diff --git a/docs/design/AutoStory-FRLG-FutureEvents.md b/docs/design/AutoStory-FRLG-FutureEvents.md index 87bac1dae6..7615be4ce7 100644 --- a/docs/design/AutoStory-FRLG-FutureEvents.md +++ b/docs/design/AutoStory-FRLG-FutureEvents.md @@ -126,7 +126,9 @@ default value instead. | `navel_rock`, `birth_island` | **Unsupported**: need event tickets (MysticTicket, AuroraTicket) | — | *剧情后4*, *剧情后5* | | `diploma` | Diploma from Game Freak, Celadon Mansion 3F; needs a completed Pokedex. **Unsupported** until a dex-completion program exists. | — | *剧情后6* | | `.rng` | RNG handoffs, one per target: see [RNG handoffs](#rng-handoffs) | per target | — | -| `ace_setup` | ACE / glitch setup. **Reserved, method not chosen**; not designed. | — | — | +| `item_dupe` | Mail glitch item duplication (Rare Candies, Nuggets): see [Item duplication](#item-duplication-item_dupe-the-mail-glitch). Changes the save for good. | 06.07 (setup from 01.01) | — | +| `nugget_bridge_loop` | N Vs. Seeker loops of Routes 24/25 for money and EXP; N from the [money plan](#money-plan) | 04.02 | — | +| `prize_tm` | Buy Game Corner TMs with coins (e.g. TM13 Ice Beam) | 06.01 | — | Italic lines that sit on the default path anyway: one of *中局31*/*中局36* (a Snorlax must be passed), one half of *中局44* (some route to Cinnabar), and @@ -227,6 +229,264 @@ saved): parent option on by itself. - A TID/SID is known before the first target. +## Item duplication (`item_dupe`, the "mail glitch") + +Off by default. It lets the run duplicate held items, mainly Rare Candies (to +level the sweeper instead of grinding) and Nuggets (to sell instead of +looping trainers for money). + +Sources: [Game8's guide for the Switch release](https://game8.co/games/Pokemon-FireRed-LeafGreen/archives/583965) +(updated 2026-03-10), [pomeg-letterbombers' mail glitch notes](https://pomeg-letterbombers.github.io/pokemon-ace-notes/mail-glitch), +[Glitch City wiki: Mail Trick glitch](https://glitchcity.wiki/Mail_Trick_glitch), +and upstream's [ItemDuplication](https://pokemonautomation.github.io/Programs/PokemonFRLG/ItemDuplication.html) +program, which automates the duplication loop once the glitch is set up. +Bulbapedia blocked automated reads and was not used. Pokemon, moves and +locations below were checked in the decomp. + +**One method exists for FRLG:** Knock Off plus Recycle in a double battle +(found by luckytyphlosion, Nov 2023, per Glitch City). Trick is a Japanese +Ruby/Sapphire method, not FRLG's. Knock Off removes the Mail without freeing +its Mail data slot; afterwards giving Mail to a Pokemon that holds an item +opens a "???" Mail screen, and confirming it adds one more of the held item to +the bag while one Mail is used up. + +| Need | Where (decomp) | Story point | +|---|---|---| +| Farfetch'd with Knock Off | Trade a Spearow for CH'DING in Vermilion (`VermilionCity_House2`, `INGAME_TRADE_FARFETCHD`); Knock Off at Lv21. The traded Pokemon gets the level of the one given (`CreateInGameTradePokemonInternal`). Spearow: Route 3 grass, Lv6–8. | 03.02 | +| Mr. Mime with Recycle | Trade an Abra for MIMIEN in the Route 2 house (`Route2_House`, `INGAME_TRADE_MR_MIME`), reached from Route 2's east side; Recycle at Lv33 (Porygon learns it at 44). Abra: Routes 24/25, Lv8–13; it Teleports, so it needs a first-turn catch. | 04.01 trip | +| Obedience | A traded Pokemon above Lv30 disobeys until the Rainbow Badge (`IsMonDisobedient`: 10, 30 Cascade, 50 Rainbow, 70 Marsh). Mr. Mime at 33 needs it. | 06.02 | +| Retro Mail | Celadon Dept. Store 4F, ¥50 each. Five held at once plus one per duplicate; pomeg suggests buying at least 100. | 06.01 | +| A berry | Game8: any berry; pomeg: Sitrus works best (eaten at 50% HP). Found, not sold in Marts. | before 06.07 | +| A double battle | First FRLG double on the route: Twins Eli & Anne, Route 8 (`trainers.inc`). Their Vs. Seeker rematch only opens after Fuchsia (`vs_seeker.c`), so the glitch battle must be their first battle: 05.03 and 06.06 must stay out of their sight. | 06.07 | + +Steps, as the sources give them (they differ in party order; both are listed, +the console run picks one): + +1. Party: Game8 — Farfetch'd, a berry holder, Mr. Mime holding Retro Mail; + pomeg — berry holder, Knock Off user, Recycle user holding Mail. Save before + the battle. +2. Double battle: get the berry holder to half HP so it eats the berry; switch + the Mail-holding Mr. Mime into that spot; Knock Off it; next turn use + Recycle (it brings back the berry, not the Mail). Finish the battle. +3. Check: if any Pokemon still holds Mail, reload the save and retry (pomeg). +4. At a Center, fill the party to six, original three in place; give Retro + Mail (same message as the lost one, Game8) to the five that aren't + Farfetch'd. +5. Duplicate: give Farfetch'd the item to copy, then give it a Retro Mail; on + the "???" screen confirm without naming. One copy per Mail. Upstream's + ItemDuplication automates this step (Farfetch'd first holding the item, + party full holding the right Mail, Retro Mail at the top of the bag), so + AutoStory can hand off to it like an RNG handoff. + +**Save risk:** neither Game8 nor Glitch City reports corruption from the +Knock Off method itself. But the save stays in a glitched Mail state (pomeg); +in non-Japanese FRLG the "???" Mail writes into PC Box 3, Slot 1 and can +change that Pokemon's substructure order, nature and gender (Glitch City). +AutoStory keeps Box 3, Slot 1 empty for the rest of the run. Pokemon created +from an empty slot by it can vanish in group selections (pomeg). The save +can't be cleanly undone, so this option is the user's call. + +**Our version (English FireRed on Switch):** Game8 says it works on the +Switch versions, and upstream ships an ItemDuplication program for the Switch +release, but **neither I nor the lab have confirmed it on our console**, and +pomeg's FAQ warns the Switch rerelease is "heavily internally modified" with +quirks that break some cartridge codes. Japanese FRLG behaves differently; we +run English. Verify once by hand on console B before AutoStory relies on it. + +**Placement:** the earliest point is right after the Rainbow Badge with Retro +Mail bought, at Route 8 on the way back to Lavender: new checkpoint `06.07`. +It also needs the Diglett's Cave trip (04.01) for the Route 2 house, a Spearow (01.01) and an Abra (02.04), and two +GRIND steps (Farfetch'd to 21, Mr. Mime to 33; see the team plan). + +**Rare Candies for a sweep:** one Candy is one level. The plan raises the +sweeper from about Lv36 at 06.07 (the WR's level at that story point) to +Lv60 there, and to Lv70 at 14.01: **34 Candies**, an upper bound (fight EXP +in between ignored; estimated). Add Nuggets for money (see the money plan): +about 8 for the League's Full Restores. That is ~42 duplicates, so ~50 Retro +Mail on top of the five held. Buy 15 at 06.01 (¥750), duplicate and sell +Nuggets first, then buy the rest (up to pomeg's 100). Seeds: keep +one found Rare Candy unused and keep the Route 24 Nugget unsold. + +## Team plan + +Default team is the WR's: one sweeper (the starter) plus HM users, no +grinding (see the [speedrun notes](AutoStory-FRLG-SpeedrunNotes.md)). HM +compatibility is from `tmhm_learnsets.h`; trade data from +`ingame_trades.h`; opponent levels from `trainer_parties.h` (Squirtle player, +so the rival's `_BULBASAUR` parties). + +| Role | Pokemon | Where | Notes | +|---|---|---|---| +| Sweeper, Surf, Strength (later Rock Smash, Waterfall) | Squirtle → Blastoise | 00.04 | Learns all four HMs. WR moves at the League: Surf, Strength, Bite, Blizzard. | +| Cut | Rattata (WR, Route 1) | 00.05–00.07 capture | Learns Cut and Rock Smash. With `item_dupe`, Farfetch'd covers Cut too. | +| Fly (`fly`) | Pidgey (WR) or Farfetch'd | Route 1/2 capture, or 03.02 trade | Both learn Fly. | +| Flash (`flash`) | Mr. Mime (with `item_dupe`) | 04.01 trade | Rattata, Pidgey and Blastoise can't learn Flash. Without `item_dupe`, a Flash user is another capture (not planned). | +| Knock Off (`item_dupe`) | Farfetch'd CH'DING | 03.02 trade for Spearow | Holds a Stick. | +| Recycle (`item_dupe`) | Mr. Mime MIMIEN | 04.01 trade for Abra | | + +In-game trades (all in `ingame_trades.h`; the received Pokemon has the level +of the one given): + +| You give | You get | Where | Plan use | +|---|---|---|---| +| Abra | Mr. Mime MIMIEN | Route 2 house | `item_dupe` | +| Spearow | Farfetch'd CH'DING (Stick) | Vermilion house | `item_dupe`, Cut/Fly | +| Poliwhirl | Jynx ZYNX (Fab Mail) | Cerulean house | — (pomeg mentions it can affect the glitch state; not used) | +| Nidoran (one sex) | Nidoran (other) MS./MR. NIDO | Underground Path north entrance (Route 5) | — | +| Nidorino / Nidorina | NINA / NINO | Route 11 gate 2F | — | +| Golduck (FR) / Slowbro (LG) | Lickitung MARC | Route 18 gate 2F | — | +| Raichu | Electrode ESPHERE | Cinnabar Lab lounge | — | +| Venonat | Tangela TANGENY (Stardust) | Cinnabar Lab lounge | — | +| Ponyta | Seel SEELOR | Cinnabar Lab experiment room | — | + +Levels per major fight: opponent's highest level (decomp), the WR sweeper's +level there (speedrun notes), and a DEFAULT target (estimated: WR level, at +least the opponent's ace + 2 for gyms and rivals). Our order differs from the +WR's after Celadon (it did Koga and Blaine before Erika), so later WR levels +are a guide, not a curve to copy. + +| Fight | Checkpoint | Opponent max | WR level | DEFAULT target | +|---|---|---|---|---| +| Brock | 00.09 | 14 | 11 | 14 | +| Miguel | 01.02 | 12 | ~16 | 16 | +| Misty | 02.01 | 21 | 20–21 | 23 | +| Rival, Cerulean | 02.02 | 18 | 21 | 21 | +| Rival, S.S. Anne | 03.03 | 20 | ~27 | 27 | +| Surge | 03.06 | 24 | 28 | 28 | +| Erika | 06.02 | 29 | 44 (fought late) | 32 | +| Giovanni, Hideout | 06.05 | 29 | 36 | 36 | +| Rival, Tower | 06.08 | 25 | 36–38 | 36 | +| Koga | 07.05 | 43 | 40 | 45 | +| Rival, Silph | 08.04 | 40 | 44–45 | 45 | +| Giovanni, Silph | 08.05 | 41 | 45–46 | 45 | +| Sabrina | 08.06 | 43 | 47 | 47 | +| Blaine | 10.02 | 47 | 42 | 49 | +| Giovanni, Gym | 12.03 | 50 | 49 | 52 | +| Rival, Route 22 | 13.01 | 53 | 49 | 53 | +| Elite Four | 14.02–14.05 | 60 (Dragonite) | 51–55 | 58 | +| Champion | 14.06 | 63 | 55–57 | 60 | + +The WR is under target at Koga, Blaine and the League and wins with X items +(X Special, X Speed, X Accuracy) and Full Restores; DEFAULT buys those too. + +**GRIND steps (no `item_dupe`).** `GRIND(where, level)`: fight until the lead +reaches the level, with a bounded encounter count, then heal. Proposed, all +estimated until runs measure EXP: + +| Before | GRIND | Notes | +|---|---|---| +| 02.01 Misty | Route 24/25 trainers, first pass (02.02–02.04 are on the way) | Fight Misty after Bill if below 23 (schedule change) | +| 03.06 Surge | Vermilion: Route 6/11 trainers | | +| 07.05 Koga | Route 12–15 trainers (EAST road) | Most of the gap closes on the road itself | +| 10.02 Blaine | Cinnabar Mansion trainers / Route 21 | | +| 14.01 League | Victory Road and Route 23 wild Pokemon | Biggest gap: 55→58 | + +With `item_dupe`, every GRIND for the sweeper after `06.07` is replaced by a +Rare Candy step (`ITEM(rare_candy, n)` to the table's target). The two +glitch-setup GRINDs stay: Farfetch'd to 21 and Mr. Mime to 33 (both on +Route 24/25 trainers or the `nugget_bridge_loop`, which also pays). + +## Money plan + +Worked backwards from what the run buys. Every number is marked: **(d)** +decomp, **(w)** speedrun notes, **(e)** estimated. Prices are `items.json` +(d); selling gives half the price (`item_menu.c`) (d). + +### Sinks + +| Checkpoint | What | Cost | +|---|---|---| +| 00.07 | 5 Potions, 3 Antidotes, 1 Parlyz Heal (the existing `shop` row) | ¥2,000 (d: table) | +| 01.01 `magikarp` | Magikarp | ¥500 (GiftRng docs) | +| 02.06 | Cerulean restock, ~5 Potions + 2 Repels | ¥2,200 (e) | +| 03.01 | 5 Super Potions, 3 Parlyz Heals, 3 Repels (WR's buy) | ¥5,150 (d prices, w quantities) | +| 05.01 | 4 Escape Ropes, 7 Super Repels (WR's buy) | ¥5,700 (d, w) | +| 06.01 | 6 X Speed, 21 X Special, 5 X Accuracy, 2 Guard Spec (WR's buy) | ¥15,600 (d, w) | +| 06.01 `item_dupe` | 15 Retro Mail now, ~85 more after the first Nugget sales | ¥750 + ¥4,250 (d) | +| 06.01 `prize_tm` | Game Corner TM: TM13 Ice Beam 4000 coins, TM24 Thunderbolt 4000, TM35 Flamethrower 4000, TM23 Iron Tail 3500, TM30 Shadow Ball 4500; coins ¥1,000 per 50 (¥20 each) | Ice Beam = ¥80,000 (d) | +| 06.01 `game_corner_prize.rng` | Prize Pokemon, FR: Abra 180, Clefairy 500, Dratini 2800, Scyther 5500, Porygon 9999 coins; LG: Abra 120, Clefairy 750, Pinsir 2500, Dratini 4600, Porygon 6500 | FR Dratini = ¥56,000 (d) | +| 07.06 | Safari Zone entry | ¥500 (d) | +| 14.01 | ~13 Full Restores (WR bought about 13) | ¥39,000 (d price, w count) | +| — | Bicycle: voucher, free | ¥0 | + +The WR gets Blizzard free (TM14, Pokemon Mansion B1F item ball (d)), so +`prize_tm` is off by default. + +### Sources + +- Trainer payouts: `4 × last Pokemon's level × class base × 2 if double × + 2 with Amulet Coin` (`battle_script_commands.c`) (d). The table below sums + them per segment from `trainer_parties.h`, `trainers.h` and the trainers' + map scripts (d). "Required" is leaders, rivals, bosses, Miguel and the + Nugget Bridge (forced on a one-tile bridge). "Estimate" adds half of the + other trainers on those maps (e). The WR's money readings match the + decomp's prizes (Brock 1,400, Misty 2,100, Silph rival 1,440, Lorelei 5,400). +- Nugget from the Route 24 Rocket: sells for ¥5,000 (d). Other Nuggets on the + default path (d): Rocket Hideout B3F (hidden), Pokemon Tower 5F, Safari + Center, Silph 8F (hidden), each ¥5,000 if picked up (not counted below). +- Amulet Coin (`amulet_coin`, Route 16 gate, 40 caught): doubles prizes when + its holder is sent into the battle (`battle_util.c`) (d). +- Vs. Seeker rematches (`vs_seeker`, Vermilion Center) (d, `vs_seeker.c`): + the battery needs 100 steps after each successful use; each fought trainer + on screen accepts with 70% chance; the rematch party is the highest tier the + story allows: tier 1 after getting the Vs. Seeker, 2 after visiting Celadon, + 3 after Fuchsia, 4 after the Hall of Fame. Routes 24/25 have 15 rematchable + trainers; Hiker Franklin only from tier 2. + +| Nugget Bridge loop (Routes 24+25, all rematchable trainers) | Sum of prizes (d) | Expected at 70% (d) | With Amulet Coin | +|---|---|---|---| +| Tier 1 (Vs. Seeker, before Celadon) | ¥4,396 | ¥3,077 | — (coin comes later) | +| Tier 2 (after Celadon) | ¥5,296 | ¥3,707 | ¥7,414 | +| Tier 3 (after Fuchsia) | ¥5,840 | ¥4,088 | ¥8,176 | + +One loop needs several Vs. Seeker uses (trainers must be on screen), each +after 100 steps: about 5 uses per loop (e). + +### Ledger (DEFAULT: EAST road, Route 21, no options) + +Start money ¥3,000 (w: Trainer Card at 0:00). "Floor" counts only required +fights (d) plus the bridge Nugget sold; "estimate" adds half the other +trainers (e). + +| Segment | Income floor | Income est. | Spend | Cumulative floor | Cumulative est. | +|---|---|---|---|---|---| +| start | | | | 3,000 | 3,000 | +| 00 | 1,480 | 1,764 | 2,000 | 2,480 | 2,764 | +| 01 | 288 | 2,578 | 0 | 2,768 | 5,342 | +| 02 (+ Nugget 5,000) | 9,564 | 11,498 | 2,200 | 10,132 | 14,640 | +| 03 | 3,120 | 11,572 | 5,150 | 8,102 | 21,062 | +| 04 | 0 | 1,932 | 0 | 8,102 | 22,994 | +| 05 | 0 | 10,820 | 5,700 | 2,402 | 28,114 | +| 06 | 6,700 | 20,124 | 15,600 | **−6,498** | 32,638 | +| 07 | 4,300 | 24,856 | 500 | −2,698 | 56,994 | +| 08 | 5,740 | 24,864 | 0 | 3,042 | 81,858 | +| 09 | 0 | 2,544 | 0 | 3,042 | 84,402 | +| 10 | 4,700 | 18,732 | 0 | 7,742 | 103,134 | +| 12 | 5,000 | 10,180 | 0 | 12,742 | 113,314 | +| 13 | 1,908 | 11,678 | 0 | 14,650 | 124,992 | +| 14.01 | 0 | 0 | 39,000 | **−24,350** | 85,992 | + +The estimate is high against the WR (¥15,694 at Celadon, ¥41,818 at the +Plateau, both read on screen), which skipped most trainers; reality sits +between floor and estimate. + +**Loops needed** (passes at tier 1, ¥3,077 expected each, run in 04.02): + +| Plan | Deficit (floor) | Loops (floor) | Loops (estimate) | +|---|---|---|---| +| No dupe | ¥24,350 by 14.01 (¥6,498 by 06.01) | 8 | 0 | +| No dupe + `prize_tm` Ice Beam | ¥104,350 | 34 (or 15 at tier 2 with Amulet Coin) | 0 | +| `item_dupe` (skip X items; keep the bridge Nugget as the seed; 15 Retro Mail) | ¥3,348 at 06.01 | 2 | 0 | +| `item_dupe` after 06.07 | covered by duplicated Nuggets (¥5,000 each, 8 for the League) | 0 | 0 | + +`nugget_bridge_loop` (off unless the plan needs it): runs N loops in 04.02, +before Route 9. Default N comes from this ledger at run start: the floor +deficit up to the next money check divided by the expected loop payout, +rounded up; the user can override it. It also serves the glitch-setup GRINDs. +Every loop count is an estimate until a console run measures payouts per +loop and steps per Vs. Seeker use. + + ## Main story ### Segment 00 — New game to the Running Shoes (Parts 1–3) @@ -254,7 +514,7 @@ RNG split of `00.04`) get their ids in that PR. | ID | Title | Start | Does | End / save | 52poke | |---|---|---|---|---|---| -| 01.01 | Route 3 to the Mt. Moon Center | PEWTER (46,21) N | `ready`; Route 3 trainers on the chosen path; Route 4 Center `heal` `[opt: magikarp]` | `@Route4.center_counter` | 开局16, *开局17* | +| 01.01 | Route 3 to the Mt. Moon Center | PEWTER (46,21) N | `ready`; Route 3 trainers on the chosen path; Route 4 Center `heal` `[opt: magikarp]` `[opt: item_dupe — CAPTURE(spearow)]` | `@Route4.center_counter` | 开局16, *开局17* | | 01.02 | Mt. Moon to the fossils | `@Route4.center_counter` | `route` 1F→B1F→B2F; Rockets on the path; `PREP(Miguel)`; `battle(super_nerd_miguel)`; `CHOICE(fossil)` (Dome \| Helix, setting); `ITEM` | `@MtMoonB2F.fossil_room` | 开局18 | | 01.03 | Exit Mt. Moon to Cerulean | `@MtMoonB2F.fossil_room` | Exit east; Route 4 one-way ledges; Cerulean Center `heal`. Never plan a walk back uphill. | `@Cerulean.center_counter` | 开局19 | @@ -268,7 +528,7 @@ a schedule change, not an option. | 02.01 | Cascade Badge | `@Cerulean.center_counter` | Gym trainers on the path; `PREP(Misty)`; `battle(Misty)`; Cascade Badge, TM03; back to the Center | `@Cerulean.center_counter` | 开局20 | | 02.02 | Rival at the bridge | `@Cerulean.center_counter` | North to the Route 24 trigger; `battle(rival_cerulean)`; Fame Checker | `@Route24.bridge_south` | 开局21 | | 02.03 | Nugget Bridge | `@Route24.bridge_south` | Five bridge trainers, each named; Nugget; `battle(rocket_recruiter)` | `@Route24.bridge_north` | 开局22 | -| 02.04 | Route 25 to Sea Cottage | `@Route24.bridge_north` | Route 24 grass and Route 25 trainers on the chosen path; enter the cottage | `@SeaCottage.door` | 开局23 | +| 02.04 | Route 25 to Sea Cottage | `@Route24.bridge_north` | Route 24 grass and Route 25 trainers on the chosen path; `[opt: item_dupe — CAPTURE(abra), first-turn catch]`; enter the cottage | `@SeaCottage.door` | 开局23 | | 02.05 | Restore Bill | `@SeaCottage.door` | `talk(Bill)`; `answer(help, YES)`; PC; separation `scene`; `talk(Bill)`; `VERIFY(SS_Ticket)` | `@SeaCottage.door` | 开局24 | | 02.06 | Back to Cerulean | `@SeaCottage.door` | Routes 25 and 24 south; Center `heal` | `@Cerulean.center_counter` | 开局25 | | 02.07 | The burgled house | `@Cerulean.center_counter` | Officer has moved (after the ticket); through the house to the back yard; `battle(rocket_thief)`; TM28 | `@Cerulean.house_backyard` | 中局1 | @@ -279,7 +539,7 @@ a schedule change, not an option. | ID | Title | Start | Does | End / save | 52poke | |---|---|---|---|---|---| | 03.01 | Route 6 to Vermilion | `@Route6.underground_exit` | Route 6 trainers on the path; Vermilion Center `heal` | `@Vermilion.center_counter` | 中局3 | -| 03.02 | To the harbor | `@Vermilion.center_counter` | `[opt: vs_seeker]` girl in the Center; `[opt: bike_voucher]` Fan Club chairman; `[opt: old_rod]` Fishing Guru; harbor ticket check; board | `@SSAnne.1F_entry` | *中局4*, *中局5*, *中局6*, 中局7, 中局8 | +| 03.02 | To the harbor | `@Vermilion.center_counter` | `[opt: vs_seeker]` girl in the Center; `[opt: bike_voucher]` Fan Club chairman; `[opt: old_rod]` Fishing Guru; `[opt: item_dupe]` trade Spearow for Farfetch'd (Vermilion house), `GRIND(farfetchd, 21)` for Knock Off; harbor ticket check; board | `@SSAnne.1F_entry` | *中局4*, *中局5*, *中局6*, 中局7, 中局8 | | 03.03 | Ship rival | `@SSAnne.1F_entry` | Route to the captain's deck; `PREP(rival_ship)`; `battle(rival_ss_anne)` | `@SSAnne.captain_hall` | 中局9 | | 03.04 | Captain's Cut | `@SSAnne.captain_hall` | `talk(captain)`; back-rub `scene`; HM01; leave; ship departs; `PARTY(cut_user)`; `TEACH(Cut, slot)`. Squirtle can't learn Cut: needs a caught Cut user (WR: Rattata from Route 1). | `@Vermilion.center_counter` | 中局10 | | 03.05 | Surge's switches | `@Vermilion.center_counter` | `FIELD(Cut, gym_tree)`; gym trainers on the path; `PUZZLE(two_trash_switches)` read from the screen, bounded attempts | `@VermilionGym.surge_front` | 中局11 | @@ -291,8 +551,8 @@ Default skips Flash and walks Rock Tunnel dark, as the WR does (45:00–50:00 in | ID | Title | Start | Does | End / save | 52poke | |---|---|---|---|---|---| -| 04.01 | `[opt: flash or old_amber]` Diglett's Cave to HM05 | `@Vermilion.center_counter` | Route 11; Diglett's Cave; `[opt: flash]` Route 2 east gate aide (needs 10 caught: `CAPTURE` until met), `TEACH(Flash)`; `[opt: old_amber]` museum side door via Cut; back through the cave | `@Vermilion.center_counter` | *中局12* | -| 04.02 | Back to Cerulean | `@Vermilion.center_counter` | Route 6; Underground Path; Route 5; `[opt: bike_voucher]` Bike Shop exchange; Center `heal` | `@Cerulean.center_counter` | 中局13 | +| 04.01 | `[opt: flash, old_amber or item_dupe]` Diglett's Cave to HM05 | `@Vermilion.center_counter` | Route 11; Diglett's Cave; `[opt: flash]` Route 2 east gate aide (needs 10 caught: `CAPTURE` until met), `TEACH(Flash)`; `[opt: old_amber]` museum side door via Cut; `[opt: item_dupe]` Route 2 house: trade Abra for Mr. Mime; back through the cave | `@Vermilion.center_counter` | *中局12* | +| 04.02 | Back to Cerulean | `@Vermilion.center_counter` | Route 6; Underground Path; Route 5; `[opt: bike_voucher]` Bike Shop exchange; `[opt: nugget_bridge_loop]` N Vs. Seeker loops of Routes 24/25 (needs `vs_seeker`), also `GRIND(mr_mime, 33)` with `item_dupe`; Center `heal` | `@Cerulean.center_counter` | 中局13 | | 04.03 | Routes 9 and 10 | `@Cerulean.center_counter` | Cut the east tree; Route 9 trainers on the path; Route 10 Center `heal` | `@Route10.center_counter` | 中局13 | ### Segment 05 — Rock Tunnel, Route 10 south, Lavender, Route 8, Underground Path, Route 7 (Part 8) @@ -301,22 +561,23 @@ Default skips Flash and walks Rock Tunnel dark, as the WR does (45:00–50:00 in |---|---|---|---|---|---| | 05.01 | Rock Tunnel to Lavender | `@Route10.center_counter` | Rock Tunnel floors and ladders, dark (or `FIELD(Flash)` with `[opt: flash]`); path trainers; Route 10 south; Lavender Center `heal`. Hears Fuji is missing; does not enter the Tower. | `@Lavender.center_counter` | 中局13, 中局14 | | 05.02 | `[opt: early_tower]` Tower 2F rival | `@Lavender.center_counter` | Enter the Tower; 2F rival trigger (decomp `PokemonTower_2F` coord events (17,5), (16,6)); `battle(rival_tower)`; 3F ghosts can't be fought without the Scope: flee | `@Lavender.center_counter` | 中局14, *中局15*, *中局16* | -| 05.03 | West to Celadon | `@Lavender.center_counter` | Route 8; Underground Path (7–8); Route 7; Celadon Center. No Saffron gate before the Tea. | `@Celadon.center_counter` | 中局17 | +| 05.03 | West to Celadon | `@Lavender.center_counter` | Route 8 (with `item_dupe`, out of Twins Eli & Anne's sight); Underground Path (7–8); Route 7; Celadon Center. No Saffron gate before the Tea. | `@Celadon.center_counter` | 中局17 | ### Segment 06 — Celadon, Celadon Gym, Rocket Hideout, Pokemon Tower (Part 9) | ID | Title | Start | Does | End / save | 52poke | |---|---|---|---|---|---| -| 06.01 | Celadon services | `@Celadon.center_counter` | Mansion 1F old lady: Tea; Dept. Store by budget `[opt: coin_case]` `[opt: game_corner_prize]` `[opt: eevee]` | `@Celadon.center_counter` | *中局19*, *中局23*, 中局24 | +| 06.01 | Celadon services | `@Celadon.center_counter` | Mansion 1F old lady: Tea; Dept. Store by budget `[opt: coin_case]` `[opt: game_corner_prize]` `[opt: eevee]` `[opt: prize_tm]` `[opt: item_dupe — 15 Retro Mail]` | `@Celadon.center_counter` | *中局19*, *中局23*, 中局24 | | 06.02 | Rainbow Badge | `@Celadon.center_counter` | Cut the gym tree; gym trainers on the path; `PREP(Erika)`; `battle(Erika)`; Rainbow Badge, TM19 | `@Celadon.center_counter` | 中局18 | | 06.03 | Hideout entrance | `@Celadon.center_counter` | Game Corner; `battle(poster_grunt)`; press the poster switch; stairs | `@RocketHideoutB1F.stairs` | 中局20 | | 06.04 | Lift Key | `@RocketHideoutB1F.stairs` | Spinner floors to B4F northwest room; `battle(key_grunt)`; **talk again**; pick up the Lift Key | `@RocketHideoutB4F.key_room` | 中局21 | | 06.05 | Hideout Giovanni | `@RocketHideoutB4F.key_room` | Lift to B4F; door guards; `PREP(giovanni_hideout)`; `battle(giovanni_hideout)`; Silph Scope | `@Celadon.center_counter` | 中局22 | -| 06.06 | Tea and back to Lavender | `@Celadon.center_counter` | Route 7 gate: guard takes the Tea; through Saffron; Route 8 gate; Lavender Center | `@Lavender.center_counter` | 中局25, 中局26 | -| 06.07 | Tower rival and ascent | `@Lavender.center_counter` | Tower; 2F rival (skipped if `early_tower` won it); 3F–5F with the healing zone | `@PokemonTower5F.stairs_up` | 中局15 (if not early) | -| 06.08 | Marowak | `@PokemonTower5F.stairs_up` | 6F: Scope reveals Marowak; `battle(marowak_ghost)` — can't be caught | `@PokemonTower6F.stairs_up` | 中局27 | -| 06.09 | Fuji's rescue | `@PokemonTower6F.stairs_up` | 7F: three Rockets; Fuji; escort home | `@FujiHouse.fuji_front` | 中局28 | -| 06.10 | Poke Flute | `@FujiHouse.fuji_front` | `talk(Fuji)`; Poke Flute; Center `heal` | `@Lavender.center_counter` | 中局29 | +| 06.06 | Tea and back to Lavender | `@Celadon.center_counter` | Route 7 gate: guard takes the Tea; through Saffron; Route 8 gate (with `item_dupe`, still out of the Twins' sight); Lavender Center | `@Lavender.center_counter` | 中局25, 中局26 | +| 06.07 | `[opt: item_dupe]` The mail glitch | `@Lavender.center_counter` | Party: berry holder, Farfetch'd (Knock Off), Mr. Mime (Recycle, holding Retro Mail); to Route 8; `battle(twins_eli_anne)` as a double: berry eaten, switch Mr. Mime in, Knock Off it, Recycle; check no one holds Mail (else reload); Center: fill party, Mail on five; hand off to ItemDuplication (or duplicate in-table): Rare Candies and Nuggets per the plans; sell Nuggets; `ITEM(rare_candy)` to the team plan's target. Box 3 Slot 1 stays empty from here. | `@Lavender.center_counter` | — | +| 06.08 | Tower rival and ascent | `@Lavender.center_counter` | Tower; 2F rival (skipped if `early_tower` won it); 3F–5F with the healing zone | `@PokemonTower5F.stairs_up` | 中局15 (if not early) | +| 06.09 | Marowak | `@PokemonTower5F.stairs_up` | 6F: Scope reveals Marowak; `battle(marowak_ghost)` — can't be caught | `@PokemonTower6F.stairs_up` | 中局27 | +| 06.10 | Fuji's rescue | `@PokemonTower6F.stairs_up` | 7F: three Rockets; Fuji; escort home | `@FujiHouse.fuji_front` | 中局28 | +| 06.11 | Poke Flute | `@FujiHouse.fuji_front` | `talk(Fuji)`; Poke Flute; Center `heal` | `@Lavender.center_counter` | 中局29 | ### Segment 07 — Routes 12–18, Fuchsia, Fuchsia Gym, Safari Zone (Part 10) @@ -453,9 +714,9 @@ Starts after a break: the user brings the save to 60 caught species. If | S.S. Ticket | 02.05 | 02.07 (officer moves), 03.02 | | A Cut user + HM01 | caught Pokemon + 03.04 | 03.05, 04.03, 06.02, 07.01, 15.08 | | Flash (optional) | 04.01, 10 caught | 05.01 lit; default walks dark | -| Silph Scope | 06.05 | 06.08 | +| Silph Scope | 06.05 | 06.09 | | Tea | 06.01 | 06.06 (Saffron gates) | -| Poke Flute | 06.10 | 07.02 or 07.04 | +| Poke Flute | 06.11 | 07.02 or 07.04 | | Bicycle | `bike_voucher` | 07.04 (WEST) | | Surf + Soul Badge | 07.06 + 07.05 | 09.01/09.02, 12.01, 13.02 | | Strength + Rainbow Badge | 07.07 + 06.02 | 09.02, 13.03–13.04 | @@ -546,8 +807,8 @@ counted because they are list lines there. *Italic* = optional on 52poke. | 中局11 | Surge: Thunder Badge | 03.05, 03.06 | | *中局12* | Diglett's Cave, Route 2 gate: HM05 Flash (10 caught) | 04.01 `flash` | | 中局13 | From Cerulean: Route 9, Rock Tunnel, Route 10 to Lavender | 04.02, 04.03, 05.01 | -| 中局14 | Fuji is missing; to the Tower | 05.01 (news), 05.02 / 06.07 (Tower) | -| *中局15* | Tower 2F rival | 05.02 `early_tower`; else 06.07 | +| 中局14 | Fuji is missing; to the Tower | 05.01 (news), 05.02 / 06.08 (Tower) | +| *中局15* | Tower 2F rival | 05.02 `early_tower`; else 06.08 | | *中局16* | 3F ghosts can't be attacked | 05.02 `early_tower` | | 中局17 | Route 8, Underground Path, Route 7 to Celadon | 05.03 | | 中局18 | Erika: Rainbow Badge | 06.02 | @@ -559,9 +820,9 @@ counted because they are list lines there. *Italic* = optional on 52poke. | 中局24 | Tea from the Mansion old lady | 06.01 | | 中局25 | Tea to the Saffron guard | 06.06 | | 中局26 | Back to Lavender | 06.06 | -| 中局27 | Scope reveals Marowak; can't be caught | 06.08 | -| 中局28 | 7F: three Rockets | 06.09 | -| 中局29 | Fuji: Poke Flute | 06.10 | +| 中局27 | Scope reveals Marowak; can't be caught | 06.09 | +| 中局28 | 7F: three Rockets | 06.10 | +| 中局29 | Fuji: Poke Flute | 06.11 | | 中局30 | Choose Route 12, Cycling Road or Silph next | 07.02 (`south_road`); Silph is segment 08 | | *中局31* | Route 12 Snorlax | 07.02 (`south_road=EAST`, default) | | *中局32* | Super Rod | 07.03 `super_rod` | From 013ba413c582a7f056dcf6b39c44d86950427d87 Mon Sep 17 00:00:00 2001 From: dayfine Date: Mon, 2 Nov 2026 14:45:11 -0800 Subject: [PATCH 5/6] Design: FRLG options reference and per-starter team plan Collect every option into one reference grouped as run control, story choices, optional story, team, legendaries, economy, glitches and RNG, each with values, default, rows, dependencies and user data, plus one table of run-start checks. Make the team plan per starter and version: matchups by fight, HM users, supporters (LeafGreen Starmie via the Super Rod, FireRed Lapras), the catches they add to rows, second-carrier levels and their money. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01AKYzhrMnPK61XHWEch4a6E --- docs/design/AutoStory-FRLG-FutureEvents.md | 488 +++++++++++++++------ 1 file changed, 362 insertions(+), 126 deletions(-) diff --git a/docs/design/AutoStory-FRLG-FutureEvents.md b/docs/design/AutoStory-FRLG-FutureEvents.md index 7615be4ce7..57256617cd 100644 --- a/docs/design/AutoStory-FRLG-FutureEvents.md +++ b/docs/design/AutoStory-FRLG-FutureEvents.md @@ -35,7 +35,9 @@ visible destination or a closed dialog is not enough. Columns: **ID**, **Title**, **Start** (pose or anchor), **Does** (ordered steps), **End / save**, **52poke** (lines covered; italic lines in *italics*). -`[opt: name]` marks a step or row that runs only when that option is on. +`[opt: name]` marks a step or row that runs only when that option is on (see +the [Options reference](#options-reference)). `[team: …]` marks a step the +[team plan](#team-plan) adds for some `starter` × `game_version`. Current table helpers are `route`, `legs`, `step_into`, `talk`, `answer`, `scene`, `battle`, `ready`, `heal` and `make`. Their limits still hold: @@ -59,14 +61,10 @@ must not be copied forward. Split long route and dungeon rows into named route and battle events once their maps are surveyed; pick a path and inspect sight lines before naming the trainers a row must fight. -## Run modes, sections and options +## Run modes and sections -Run modes (planned, `autostory/DEMO_PLAN.md` on the notes branch): SPEEDRUN, -DEFAULT and SAFE choose which battles to take, whether to flee wild Pokemon, -the heal threshold and what to buy. Rows describe DEFAULT. SPEEDRUN would -mostly turn on travel options the WR uses (`bike_voucher`, `fly`, -`south_road=WEST`; see the [speedrun notes](AutoStory-FRLG-SpeedrunNotes.md)) and could drop non-italic steps the WR skips, such as -Silph's Master Ball. +`run_mode` (see [Run control](#run-control)) picks SPEEDRUN, DEFAULT or SAFE. +Rows describe DEFAULT. **Sections** follow the story-sections rule (`docs/design/AutoStory-StoryTracks.md` on `docs/story-tracks`): a section ends where the user must step in. @@ -80,61 +78,168 @@ Postgame rows assume the first Hall of Fame. `15.01` checks its precondition (post-HoF save, 60 caught) at the start and stops with a clear message before saving anything. -### Options +## Options reference -All default off. Each one names what it adds. Choices with two values have a -default value instead. +Every option the list uses is defined here once. Rows mark the step an option +adds with `[opt: key]`; other sections link here instead of restating an +option. Defaults keep today's behavior: off, or the value today's table or the +WR takes. Options marked **exists** are in #120's program today; **reserved** +ones belong to the segment-00 work in progress; the rest are planned. -| Option | Adds | Where | 52poke | +Each table has the same columns: + +- **Key**: the name used in rows and checks. +- **Values**: type and values; the default in **bold**. +- **Changes**: what it adds or changes. +- **Rows**: the checkpoints it touches. +- **Needs / conflicts**: options or story state it depends on, and what it + can't be combined with. The run-start check enforces these; all of them are + collected in [Checks at run start](#checks-at-run-start). +- **User data**: what the user supplies; "—" for nothing. + +Groups: [run control](#run-control), [story choices](#story-choices), +[optional story](#optional-story-52poke-italic-lines), +[team](#team), [legendaries and extras](#legendaries-and-extras), +[economy and grinding](#economy-and-grinding), [glitches](#glitches), +[RNG](#rng). + +### Run control + +| Key | Values | Changes | Rows | Needs / conflicts | User data | +|---|---|---|---|---|---| +| `start_checkpoint`, `end_checkpoint` | checkpoint id; **first**, **last** registered | Range to run, both inclusive; the program loads the start's save. **Exists** (`StoryRunOptions`). | all | start not after end | — | +| `new_game_from_title` | bool, **on** | Start 00.01 from the title screen with no save. **Exists.** | 00.01 | needed when the start is 00.01 | — | +| `attempts_per_checkpoint` | 1–20, **3** | A failed checkpoint reloads its save and retries. **Exists.** | all | — | — | +| `stop_at_first_failure` | bool, **off** | Stop where it failed, without reloading. **Exists.** | all | — | — | +| `checks` | **THOROUGH** \| FAST | How much each step confirms on screen. **Exists.** | all | — | — | +| `language` | **English** \| the game's other languages | Text reads (shop, Bag). **Exists.** Also picks the RNG seed list. | all | RNG seed lists exist for English and Japanese only; other languages use English | — | +| `game_version` | **FIRERED** \| LEAFGREEN | Wild tables and version exclusives, Game Corner prizes, the [team plan](#team-plan) row | 05.03, 06.01, 07.03, team plan rows | must match the game and the RNG plan's version | — | +| `run_mode` | SPEEDRUN \| **DEFAULT** \| SAFE | Which battles to take, fleeing wilds, heal threshold, purchases (`autostory/DEMO_PLAN.md` on the notes branch). SPEEDRUN turns on the WR's travel options (`bike_voucher`, `fly`, `south_road=WEST`; [speedrun notes](AutoStory-FRLG-SpeedrunNotes.md)) and may drop non-italic steps the WR skips, such as Silph's Master Ball. | all | — | — | +| `player_name` | **reserved** | Player-name setting | 00.01 | segment-00 PR | the name | + +### Story choices + +One value is always taken. + +| Key | Values | Changes | Rows | Needs / conflicts | User data | +|---|---|---|---|---|---| +| `starter` | BULBASAUR \| CHARMANDER \| **SQUIRTLE** | The ball in 00.04; the rival's starter and parties; HM users, supporters and catches ([team plan](#team-plan)); the roaming beast. Today's table implements SQUIRTLE only. | 00.04, 03.04, 07.07, 14.06, 17.03, team plan rows | BULBASAUR and CHARMANDER need a Surf user before 09.01 (check S1) | — | +| `fossil` | DOME \| **HELIX** (the WR's) | 01.02's `CHOICE(fossil)` | 01.02, 10.01 | `fossil_revival.rng` species must match | — | +| `south_road` | **EAST** \| WEST | Which Snorlax road reaches Fuchsia; the other is never run | 07.02–07.04 | WEST needs `bike_voucher`; EAST passes the Super Rod house (`super_rod`) | — | +| `snorlax_policy` | FLEE \| **DEFEAT** \| CAPTURE | `battle(snorlax)` on the chosen road (default proposed: EXP) | 07.02 or 07.04 | CAPTURE needs balls; `south_road.rng_snorlax` implies CAPTURE | — | +| `hypno_policy` | FLEE \| **DEFEAT** \| CAPTURE | `battle(hypno)` in Berry Forest (default proposed) | 11.03 | `rng_hypno` implies CAPTURE | — | +| `cinnabar_approach` | **ROUTE21** \| SEAFOAM | Pallet + Route 21, or Routes 19/20 and Seafoam | 09.01 / 09.02 | SEAFOAM needs Strength; `articuno` needs SEAFOAM | — | +| `sevii_before_league` | bool, **off** | On: accept Bill on Cinnabar and play segment 11 before Giovanni. Off: decline, as the WR does (1:23:10 in the [speedrun notes](AutoStory-FRLG-SpeedrunNotes.md)); segment 11 runs at the start of the postgame. | 10.03, segment 11 | — | — | + +Italic 52poke lines that sit on the default path anyway: one of +*中局31*/*中局36* (a Snorlax must be passed), one half of *中局44* (some +route to Cinnabar), and *终局34* (Route 21 north; italic because Fly replaces +it). + +### Optional story (52poke italic lines) + +All bool, default **off**, no user data unless noted. Each is one italic +52poke line (the coverage table maps them). + +| Key | Changes | Rows | Needs / conflicts | |---|---|---|---| -| `player_name`, `sid_helper_handoff`, `starter_rng_handoff` | Reserved for the segment-00 work in progress (player-name setting; stop at the naming screen before OK for SID Helper and resume after it; split `00.04` to save under the ball for Starter RNG). Not designed here. | 00 | — | -| `town_map` | Daisy's Town Map in the rival's house | 00.06 | *开局10* | -| `route22_rival_early` | Optional first Route 22 rival battle | 00.07 | *开局12* | -| `magikarp` | Buy the Magikarp at the Route 4 Center | 01.01 | *开局17* | -| `vs_seeker` | Vs. Seeker from the girl in Vermilion Center | 03.02 | *中局4* | -| `bike_voucher` | Fan Club voucher; exchange for the Bicycle in Cerulean | 03.02, 04.02 | *中局5* | -| `old_rod` | Old Rod from the Fishing Guru's house | 03.02 | *中局6* | -| `flash` | Diglett's Cave → Route 2 aide → HM05 Flash (10 caught) | 04.01, 05.01 | *中局12* | -| `old_amber` | Pewter Museum side door (Cut) → Old Amber; runs the 04.01 trip | 04.01 | not on 52poke | -| `early_tower` | Pokemon Tower before Celadon: 2F rival, ghosts on 3F | 05.02 | *中局15*, *中局16* | -| `coin_case` | Coin Case from the man in the Celadon restaurant | 06.01 | *中局19* | -| `game_corner_prize` | Needs `coin_case`. Buy coins from the Game Corner clerk (bounded budget, no gambling) and a prize Pokemon | 06.01 | — (part of *中局19*'s Game Corner) | -| `eevee` | Eevee from the Celadon Mansion rooftop room | 06.01 | *中局23* | -| `fly` | HM02 Fly from the Route 16 house; enables Fly travel | 07.01 | *中局37* | -| `south_road` = **EAST** \| WEST | Which Snorlax road reaches Fuchsia. One is required. | 07.02–07.04 | *中局31*, *中局36* | -| `super_rod` | Super Rod from the Route 12 fishing brothers | 07.03 | *中局32* | -| `itemfinder` | Itemfinder from the Route 11 gate aide (30 caught) | 07.03 | *中局33* | -| `exp_share` | Exp. Share from the Route 15 gate aide (50 caught) | 07.03 | *中局35* | -| `amulet_coin` | Amulet Coin from the Route 16 gate aide (40 caught) | 07.04 | *中局38* | -| `good_rod` | Good Rod from the Fishing Guru's brother in Fuchsia | 07.07 | *中局43* | -| `dojo_gift` | Fighting Dojo: Karate King, then Hitmonlee or Hitmonchan | 08.02 | *终局7* | -| `lapras_gift` | Lapras from the Silph 7F employee after the rival | 08.04 | *终局9* (italic half) | -| `cinnabar_approach` = **ROUTE21** \| SEAFOAM | Reach Cinnabar by Pallet + Route 21, or by Routes 19/20 and Seafoam | 09.01 / 09.02 | *中局44* | -| `articuno` | Stop and save before Articuno; capture only if asked (needs SEAFOAM) | 09.02 | *终局4*, *终局5* | -| `fossil_revival` | Revive the Mt. Moon fossil (and Old Amber) at the Cinnabar Lab | 10.01 | *终局13* | -| `sevii_before_league` | Accept Bill on Cinnabar and play segment 11 before Giovanni. Off: decline, as the WR does (1:23:10 in the [speedrun notes](AutoStory-FRLG-SpeedrunNotes.md)); segment 11 runs at the start of the postgame. | 10.03 | *终局16* | -| `zapdos` | Power Plant: stop and save before Zapdos; capture only if asked (needs `fly`) | 12.02 | *终局1*–*终局3* | -| `rock_smash` | HM06 from the old man at Ember Spa | 15.03 | *七之岛5* | -| `moltres` | Mt. Ember summit: stop and save before Moltres | 15.03 | *七之岛6* | -| `four_island_daycare` | Leave Pokemon at the Four Island Day Care | 15.05 | *七之岛10* | -| `water_labyrinth_egg` | Egg from the old man at Water Labyrinth | 16.01 | *七之岛16* | -| `selphy` | Lost Cave: rescue Selphy; show her the asked-for Pokemon | 16.01 | *七之岛17* | -| `tanoby_unown` | Seven Island: Sevault Canyon, Tanoby Key, unlock the Unown chambers | 17.04 | *剧情后1* | -| `mewtwo` | Cerulean Cave: stop and save before Mewtwo | 17.01 | *剧情后2* | -| `roaming_beast` | Bounded search for the starter-dependent beast (Squirtle: Raikou) | 17.03 | *剧情后3* | -| `league_rematch` | Elite Four round 2 | 17.02 | not on 52poke | -| `navel_rock`, `birth_island` | **Unsupported**: need event tickets (MysticTicket, AuroraTicket) | — | *剧情后4*, *剧情后5* | -| `diploma` | Diploma from Game Freak, Celadon Mansion 3F; needs a completed Pokedex. **Unsupported** until a dex-completion program exists. | — | *剧情后6* | -| `.rng` | RNG handoffs, one per target: see [RNG handoffs](#rng-handoffs) | per target | — | -| `item_dupe` | Mail glitch item duplication (Rare Candies, Nuggets): see [Item duplication](#item-duplication-item_dupe-the-mail-glitch). Changes the save for good. | 06.07 (setup from 01.01) | — | -| `nugget_bridge_loop` | N Vs. Seeker loops of Routes 24/25 for money and EXP; N from the [money plan](#money-plan) | 04.02 | — | -| `prize_tm` | Buy Game Corner TMs with coins (e.g. TM13 Ice Beam) | 06.01 | — | - -Italic lines that sit on the default path anyway: one of *中局31*/*中局36* (a -Snorlax must be passed), one half of *中局44* (some route to Cinnabar), and -*终局34* (Route 21 north; italic because Fly replaces it). - -### RNG handoffs +| `town_map` | Daisy's Town Map in the rival's house | 00.06 | Off: 11.01's One Island scene gives the Town Map instead | +| `route22_rival_early` | Optional first Route 22 rival battle | 00.07 | — | +| `magikarp` | Buy the Magikarp at the Route 4 Center (¥500) | 01.01 | ¥500 on hand. Gyarados (Lv20) can Surf: a fallback Surf user | +| `vs_seeker` | Vs. Seeker from the girl in Vermilion Center | 03.02 | needed by `nugget_bridge_loop` | +| `bike_voucher` | Fan Club voucher; Bicycle in Cerulean | 03.02, 04.02 | needed by `south_road=WEST` and `water_labyrinth_egg.rng` | +| `old_rod` | Old Rod from the Fishing Guru's house | 03.02 | — | +| `flash` | Diglett's Cave → Route 2 aide → HM05 Flash; `CAPTURE` until 10 caught | 04.01, 05.01 | a Flash user ([team plan](#hm-users)) | +| `old_amber` | Pewter Museum side door (Cut) → Old Amber; runs the 04.01 trip | 04.01 | Cut (03.04); needed for the Aerodactyl target | +| `early_tower` | Pokemon Tower before Celadon: 2F rival, ghosts on 3F | 05.02, 06.08 | 06.08 skips the rival if this won it | +| `coin_case` | Coin Case from the man in the Celadon restaurant | 06.01 | needed by `game_corner_prize`, `prize_tm` | +| `eevee` | Eevee (Lv25, `CeladonCity_Condominiums_RoofRoom`) | 06.01 | With a Water Stone (same store): Vaporeon, a Surf user in both versions | +| `fly` | HM02 Fly from the Route 16 house; enables Fly travel | 07.01, 08.01, 09.01, 12.01 | a Fly user ([team plan](#hm-users)); Thunder Badge; needed by `zapdos` | +| `super_rod` | Super Rod from the Route 12 fishing house (south of the Snorlax: house warp (12,86), Snorlax (14,70), `Route12/map.json`) | 07.03 | EAST passes it; from WEST it is reached from Route 13 (**unverified**). Turned on by the LeafGreen Starmie plan | +| `itemfinder` | Itemfinder from the Route 11 gate aide | 07.03 | 30 caught | +| `exp_share` | Exp. Share from the Route 15 gate aide | 07.03 | 50 caught | +| `amulet_coin` | Amulet Coin from the Route 16 gate aide; doubles prizes ([money plan](#sources)) | 07.04 | 40 caught; on the WEST road's row | +| `good_rod` | Good Rod from the Fishing Guru's brother in Fuchsia | 07.07 | — | +| `dojo_gift` | **OFF** \| HITMONLEE \| HITMONCHAN: Karate King, then the chosen ball | 08.02 | — | +| `lapras_gift` | Lapras (Lv25, `SilphCo_7F` `givemon SPECIES_LAPRAS, 25`) after the rival | 08.04 | Turned on by the FireRed Bulbasaur/Charmander plans (their Surf user) | +| `fossil_revival` | Revive the Mt. Moon fossil (and Old Amber) at the Cinnabar Lab | 10.01 | — | +| `rock_smash` | HM06 from the old man at Ember Spa | 15.03 | — | +| `four_island_daycare` | Leave Pokemon at the Four Island Day Care | 15.05 | user picks the Pokemon | +| `water_labyrinth_egg` | Egg from the old man at Water Labyrinth | 16.01 | a free party slot | +| `selphy` | Lost Cave: rescue Selphy; show her the asked-for Pokemon | 16.01 | the asked-for Pokemon (user data) | + +### Team + +| Key | Values | Changes | Rows | Needs / conflicts | User data | +|---|---|---|---|---|---| +| `supporters` | **REQUIRED** \| FULL | REQUIRED: only the HM and Surf users the [team plan](#team-plan) marks required for `starter` × `game_version`. FULL: also the matchup supporters, their stones and TMs. SQUIRTLE + REQUIRED is the WR's team, today's default. | the team plan's catch rows | FULL adds stone purchases ([money plan](#sinks)); some FULL catches turn on `super_rod` | — | + +### Legendaries and extras + +Each legendary option is **OFF** \| STOP \| CAPTURE: STOP saves facing the +Pokemon and stops (`STOP_AT`); CAPTURE also battles it to capture. + +| Key | Values | Changes | Rows | Needs / conflicts | User data | +|---|---|---|---|---|---| +| `articuno` | OFF / STOP / CAPTURE | Seafoam B4F | 09.02 | `cinnabar_approach=SEAFOAM` | — | +| `zapdos` | OFF / STOP / CAPTURE | Power Plant trip | 12.02 | `fly` | — | +| `moltres` | OFF / STOP / CAPTURE | Mt. Ember summit | 15.03 | — | — | +| `mewtwo` | OFF / STOP / CAPTURE | Cerulean Cave | 17.01 | postgame | — | +| `roaming_beast` | bool, **off** | Bounded search for the beast set by the starter: Bulbasaur → Entei, Charmander → Suicune, Squirtle → Raikou (`roamer.c` `GetRoamerSpecies`) | 17.03 | — | — | +| `tanoby_unown` | bool, **off** | Sevault Canyon, Tanoby Key, Unown chambers | 17.04 | — | — | +| `league_rematch` | bool, **off** | Elite Four round 2 (not on 52poke) | 17.02 | — | — | +| `navel_rock`, `birth_island` | **unsupported** | Need event tickets (MysticTicket, AuroraTicket) | — | — | — | +| `diploma` | **unsupported** | Game Freak, Celadon Mansion 3F; needs a completed Pokedex | — | a dex-completion program | — | + +### Economy and grinding + +GRIND steps are part of DEFAULT, not options; see the [team plan](#levels-and-grind-steps). + +| Key | Values | Changes | Rows | Needs / conflicts | User data | +|---|---|---|---|---|---| +| `nugget_bridge_loop` | **AUTO** \| N ≥ 0 | N Vs. Seeker loops of Routes 24/25 for money and EXP. AUTO takes N from the [money plan](#ledger-default-east-road-route-21-no-options) at run start: 0 when there is no deficit. Also serves the glitch-setup GRINDs. | 04.02 | N > 0 needs `vs_seeker` | optional N override | +| `prize_tm` | **NONE** \| list of Game Corner TMs (TM13, TM23, TM24, TM30, TM35) | Buy coins and the TMs; prices in the [money plan](#sinks) | 06.01 | `coin_case`; money | which TMs | +| `game_corner_prize` | **NONE** \| a prize Pokemon from the version's list | Buy coins (bounded budget, no gambling) and the prize | 06.01 | `coin_case`; the species must be in `game_version`'s list | which Pokemon | + +### Glitches + +| Key | Values | Changes | Rows | Needs / conflicts | User data | +|---|---|---|---|---|---| +| `item_dupe` | bool, **off** | Mail glitch duplication ([Item duplication](#item-duplication-item_dupe-the-mail-glitch)). Changes the save for good. Replaces sweeper GRINDs after 06.07 with Rare Candies. | 01.01, 02.04, 03.02, 04.01, 04.02, 05.03, 06.01, 06.06, 06.07, later `ITEM(rare_candy)` | the 04.01 trip; Twins Eli & Anne unfought before 06.07; Box 3 Slot 1 empty from 06.07 on | user's consent to the save risk | +| `item_dupe.rare_candies` | count, **34** (+ the second carrier's, [team plan](#levels-and-grind-steps)) | Candies to duplicate | 06.07 | `item_dupe` | optional count | +| `item_dupe.nuggets` | count, **8** | Nuggets to duplicate and sell | 06.07 | `item_dupe` | optional count | +| `item_dupe.handoff` | bool, **on** | Hand off to upstream's ItemDuplication program instead of duplicating in-table | 06.07 | `item_dupe` | — | + +### RNG + +| Key | Values | Changes | Rows | Needs / conflicts | User data | +|---|---|---|---|---|---| +| `rng_plan` | table, **empty** | Each listed target turns on its handoff: save, stop, tell the user what to run ([RNG plan setting](#rng-plan-setting)) | per target | each target's parent option on and checkpoint in range (check R2) | the [plan's fields](#rng-plan-setting): version, language, sound, profile, TID/SID, per-target seed and advances | +| `.rng` | derived from `rng_plan`, not set directly | One handoff per target ([RNG handoffs](#rng-handoffs)) | per target | its parent option, if any | from the plan | +| `sid_helper_handoff` | **reserved** | Stop at the naming screen before OK for SID Helper; resume after it | 00.01 | segment-00 PR | — | +| `starter_rng_handoff` | **reserved** | Split 00.04 to save under the ball for StarterRng | 00.04 | target species = `starter` | seed, advances | + +### Checks at run start + +Before anything is saved, the program refuses an option set that breaks one +of these, with a message naming the rule. + +| # | Rule | +|---|---| +| O1 | `south_road=WEST` needs `bike_voucher`. | +| O2 | `game_corner_prize` and `prize_tm` need `coin_case`; `nugget_bridge_loop` N > 0 needs `vs_seeker`. | +| O3 | `zapdos` needs `fly`; `articuno` needs `cinnabar_approach=SEAFOAM`. | +| O4 | `flash`, `fly`: the [team plan](#hm-users) has a member that learns it, caught before the row. | +| O5 | Caught-count gates (`flash` 10, `itemfinder` 30, `amulet_coin` 40, `exp_share` 50) are met by the planned catches before the row, or the row's bounded `CAPTURE` closes the gap. | +| S1 | `starter` BULBASAUR or CHARMANDER needs a Surf user before 09.01: `lapras_gift`, LeafGreen Staryu (`super_rod`), `eevee` + Water Stone, or `magikarp` (Gyarados). The team plan turns the first two on; turning them off without another source is an error. | +| S2 | `item_dupe`: the battle policy must not fight Twins Eli & Anne in 05.03 or 06.06; Box 3 Slot 1 stays empty from 06.07. | +| R1 | Each Target Seed is found by `SeedsDatabase::find_seed` in the list for the version and language, with that sound setting (as the RNG programs check at their start). | +| R2 | Each target's checkpoint is in the start–end range and not skipped by a route choice or a parent option that is off. Examples: Articuno with ROUTE21; Togepi without `bike_voucher`; Kabuto with `fossil=HELIX`; Aerodactyl without `old_amber`; a roaming beast other than the one `starter` sets; the other version's Dratini; any target on `navel_rock` or `birth_island`. A listed target never turns its parent option on by itself. | +| R3 | A TID/SID is known before the first target. | +| R4 | `starter_rng_handoff`'s species is `starter`; `fossil_revival.rng`'s is `fossil`'s (or Aerodactyl). | +| P1 | Postgame start (15.01): post-HoF save, 60 caught, segment 11 done. | + +## RNG handoffs Each upstream FRLG RNG program (`SerialPrograms/Source/VideoGames/PokemonFRLG/Programs/RngManipulation/`, docs `https://pokemonautomation.github.io/Programs/PokemonFRLG/.html`) @@ -142,7 +247,7 @@ starts from a save the player made in a set spot. A handoff is a split in its checkpoint: AutoStory sets up that start state, **saves and stops**, the user runs the RNG program, then AutoStory resumes from the listed checkpoint. All handoffs are off by default; one turns on only when its target is in the -[RNG plan](#rng-plan-setting). Where the gift or encounter is itself an +[RNG plan](#rng-plan-setting) (`rng_plan`, see [RNG options](#rng)). Where the gift or encounter is itself an option, the handoff is a sub-option of it and needs that option on. Start states are from each program's docs page. Every resume point is @@ -151,13 +256,13 @@ saved, with the target in the party, and must be checked on the console. | Target | Program | Checkpoint (sub-option) | Start state the program needs | Split: AutoStory saves and stops | Resume after (unverified) | |---|---|---|---|---|---| -| Bulbasaur / Charmander / Squirtle | StarterRng | 00.04 (`starter_rng_handoff`, reserved) | South side of the lab table, saved facing the chosen ball | Designed in the segment-00 PR | Per that PR | +| Bulbasaur / Charmander / Squirtle | StarterRng | 00.04 (`starter_rng_handoff`, reserved) | South side of the lab table, saved facing the ball of `starter` | Designed in the segment-00 PR | Per that PR | | Magikarp | GiftRng | 01.01 (`magikarp.rng`) | ¥500 or more; saved facing the Magikarp salesman (Route 4 Center) | Before the purchase | 01.01's heal and save, same spot | | Eevee | GiftRng | 06.01 (`eevee.rng`) | Saved facing Eevee's ball (Mansion rooftop room) | Before taking the ball | 06.01 from the room: rest of the services | | Game Corner Abra / Clefairy / Dratini (FR or LG) / Scyther / Pinsir / Porygon | GiftRng | 06.01 (`game_corner_prize.rng`) | Enough coins for the prize; saved facing the prize counter. Prize list depends on version. | Before buying the prize | 06.01 from the prize corner | | Snorlax | StaticRng | 07.02 EAST or 07.04 WEST (`south_road.rng_snorlax`) | Poke Flute held; saved facing Snorlax | Before playing the flute | The same row after the Snorlax tile is clear | | Hitmonchan / Hitmonlee | GiftRng | 08.02 (`dojo_gift.rng`) | Karate King beaten; saved facing the chosen ball | After the Karate King battle | 08.02 from the Dojo: leave for the Center | -| Lapras | GiftRng | 08.04 (`lapras_gift.rng`) | Rival beaten; saved facing the Silph 7F employee | After the rival battle | 08.04 from the employee: on to 08.05 | +| Lapras | GiftRng | 08.04 (`lapras_gift.rng`; `lapras_gift` is on in the FireRed Bulbasaur/Charmander plans) | Rival beaten; saved facing the Silph 7F employee | After the rival battle | 08.04 from the employee: on to 08.05 | | Articuno | StaticRng | 09.02 (`articuno.rng`) | Saved facing Articuno; optionally take overworld items and break smashable rocks first so they add no advances | The row's `STOP_AT` | 09.02 after the encounter: on to Cinnabar | | Omanyte / Kabuto / Aerodactyl | GiftRng | 10.01 (`fossil_revival.rng`) | Fossil given to the Lab scientist, building left and re-entered, saved next to the scientist. Species comes from 01.02's fossil choice; Aerodactyl needs `old_amber`. | After the hand-over and re-entry | 10.01 from the Lab: on to the Mansion | | Hypno | StaticRng | 11.03 (`rng_hypno`; story battle, no parent option) | Saved facing Lostelle in Berry Forest | Before talking to Lostelle | 11.03 after the Hypno battle: escort to Two Island | @@ -165,7 +270,7 @@ saved, with the target in the party, and must be checked on the console. | Zapdos | StaticRng | 12.02 (`zapdos.rng`) | Saved facing Zapdos; items and rocks as for Articuno | The row's `STOP_AT` | 12.02 after the encounter: Fly back | | Moltres | StaticRng | 15.03 (`moltres.rng`) | Saved facing Moltres | The row's `STOP_AT` | 15.03 after the encounter: on to the Ruby | | Togepi | GiftRng | 16.01 (`water_labyrinth_egg.rng`) | No Repel active; max-friendship lead; on the Bicycle (needs `bike_voucher`); saved facing the old man. "Togepi (pre-approved)" if he already saw the lead but the party was full. | Before talking to the old man | 16.01 from Water Labyrinth | -| Raikou / Entei / Suicune | RoamingLegendaryRng | 16.03 (`roaming_beast.rng`) | Sapphire held and **not yet given**; saved on Celio's left, facing him (machine's left light red, right dark); lead Lv5–49; a Fly user last with Fly as its first field move; a free slot; 3+ Max Repels second in the bag; balls on top. The beast follows the starter (Squirtle: Raikou). | Before giving the Sapphire. With this on, 16.03 must not save after the delivery. | 16.03's end (network complete), if the program delivers the Sapphire | +| Raikou / Entei / Suicune | RoamingLegendaryRng | 16.03 (`roaming_beast.rng`) | Sapphire held and **not yet given**; saved on Celio's left, facing him (machine's left light red, right dark); lead Lv5–49; a Fly user last with Fly as its first field move; a free slot; 3+ Max Repels second in the bag; balls on top. The beast follows `starter` (Bulbasaur: Entei, Charmander: Suicune, Squirtle: Raikou). | Before giving the Sapphire. With this on, 16.03 must not save after the delivery. | 16.03's end (network complete), if the program delivers the Sapphire | | Mewtwo | StaticRng | 17.01 (`mewtwo.rng`) | Saved facing Mewtwo | The row's `STOP_AT` | 17.01 after the encounter | | Ho-Oh / Lugia | StaticRng | `navel_rock` | Top of Navel Rock's steps / facing Lugia | — | **Unsupported**: MysticTicket event island | | Deoxys | StaticRng | `birth_island` | Puzzle solved, saved before the red triangle | — | **Unsupported**: AuroraTicket event island | @@ -177,7 +282,9 @@ Two more programs could hook in later; not designed here: slot (grass, surf), a rod registered to SELECT and facing water (fishing), or a Rock Smash user facing a rock. Natural spots: Tanoby Unown (17.04; slow to calibrate per its docs), the Safari Zone (07.06; the program has a Safari - mode), any route a row already ends on. + mode), any route a row already ends on. LeafGreen Staryu (Super Rod, + Vermilion 07.03 or Pallet 09.01; [team plan](#supporters-by-starter-and-version)) + is a fishing target at a row end. - **EggRng** (day care eggs): postgame only, at the Four Island Day Care (15.05, `four_island_daycare`). Needs both parents deposited with no steps taken after, three free slots, a Surf user, ideally Rock Smash. The program @@ -197,7 +304,7 @@ one table. AutoStory never picks seeds. | TID / SID | shared | From `sid_helper_handoff` or entered by the user; targets are searched with it | | Target | per row | One of the targets above | | Target Seed, Advances | per row | From the search tool | -| Target-specific | per row | Starter species; Game Corner prize; fossil (must match 01.02's choice) | +| Target-specific | per row | Starter species, Game Corner prize, fossil: must match `starter`, `game_corner_prize`, `fossil` (check R4) | How AutoStory uses it: @@ -214,20 +321,7 @@ How AutoStory uses it: step before the first handoff; check that its own menus work with Button Mode HELP. -Checks before the run starts (an error stops the run before anything is -saved): - -- Each Target Seed is found by `SeedsDatabase::find_seed` in the list for the - version and language, with that sound setting (as the programs themselves - check at their start). -- Each target's checkpoint is in the selected start–end range and is not - skipped by the route choices or a parent option that is off. Examples: - Articuno with `cinnabar_approach=ROUTE21`; Togepi without `bike_voucher`; - Kabuto when 01.02 picks the Helix Fossil; Aerodactyl without `old_amber`; - Entei when the starter is Squirtle; the Dratini of the other version; any - target on `navel_rock` or `birth_island`. A listed target never turns its - parent option on by itself. -- A TID/SID is known before the first target. +Checks before the run starts: R1–R4 in [Checks at run start](#checks-at-run-start). ## Item duplication (`item_dupe`, the "mail glitch") @@ -301,7 +395,8 @@ GRIND steps (Farfetch'd to 21, Mr. Mime to 33; see the team plan). **Rare Candies for a sweep:** one Candy is one level. The plan raises the sweeper from about Lv36 at 06.07 (the WR's level at that story point) to Lv60 there, and to Lv70 at 14.01: **34 Candies**, an upper bound (fight EXP -in between ignored; estimated). Add Nuggets for money (see the money plan): +in between ignored; estimated). Bulbasaur and Charmander add their second +carrier's candies ([team plan](#levels-and-grind-steps)). Add Nuggets for money (see the money plan): about 8 for the League's Full Restores. That is ~42 duplicates, so ~50 Retro Mail on top of the five held. Buy 15 at 06.01 (¥750), duplicate and sell Nuggets first, then buy the rest (up to pomeg's 100). Seeds: keep @@ -309,27 +404,145 @@ one found Rare Candy unused and keep the Route 24 Nugget unsold. ## Team plan -Default team is the WR's: one sweeper (the starter) plus HM users, no -grinding (see the [speedrun notes](AutoStory-FRLG-SpeedrunNotes.md)). HM -compatibility is from `tmhm_learnsets.h`; trade data from -`ingame_trades.h`; opponent levels from `trainer_parties.h` (Squirtle player, -so the rival's `_BULBASAUR` parties). - -| Role | Pokemon | Where | Notes | +One plan per `starter` × `game_version`. The starter is the main sweeper; +supporters cover the HMs it can't learn and the fights it loses on type. +`supporters=REQUIRED` takes only the HM and Surf users; FULL also takes the +matchup supporters ([Team options](#team)). SQUIRTLE with REQUIRED is the WR's +team: one sweeper plus HM users, no grinding (see the +[speedrun notes](AutoStory-FRLG-SpeedrunNotes.md)). + +Sources, all pret/pokefirered: parties and levels `src/data/trainer_parties.h` +(`sParty_Leader*`, `sParty_EliteFour*`, `sParty_Rival*`, `sParty_Champion*`); +level-up moves `src/data/pokemon/level_up_learnsets.h`; TM/HM compatibility +`src/data/pokemon/tmhm_learnsets.h`; evolutions `src/data/pokemon/evolution.h`; +wild slots `src/data/wild_encounters.json` (land slot rates +20/20/10/10/10/10/5/5/4/4/1/1, Super Rod slots 40/40/15/4/1); shop +`data/maps/CeladonCity_DepartmentStore_4F/scripts.inc`; prices +`src/data/items.json`; trades `ingame_trades.h`. Type effectiveness is the +Generation III chart, not re-read from the decomp. Rates below are per +encounter of that kind, from the slot tables. + +### The rival follows the starter + +The rival takes the starter strong against the player's: Bulbasaur → rival +Charmander, Charmander → rival Squirtle, Squirtle → rival Bulbasaur. Its +parties are named by its own starter (Squirtle player: `_BULBASAUR`). Levels +are the same in all three, so the [level table](#levels-and-grind-steps) holds +for every starter. The Champion's ace is Lv63: Charizard against Bulbasaur, +Blastoise against Charmander, Venusaur against Squirtle; the rest is Pidgeot +59, Alakazam 57, Rhydon 59 and two of Gyarados, Arcanine, Exeggutor. + +### Matchups by fight + +"Good": the starter's moves hit super effectively, or it resists the +opponent. "Problem": its moves are resisted, or it is hit super effectively. +"Even": neither. + +| Fight | Opponent (decomp) | Bulbasaur → Venusaur | Charmander → Charizard | Squirtle → Blastoise | +|---|---|---|---|---| +| Brock 00.09 | Geodude 12, Onix 14 (Rock/Ground) | Good: Vine Whip at 10 | **Problem**: Ember resisted; Metal Claw at 13 is its only answer | Good: Bubble, Water Gun at 13 | +| Misty 02.01 | Staryu 18, Starmie 21 (Water; Starmie Water/Psychic) | Good | **Problem**: Fire resisted | Even: Bite on Starmie (WR) | +| Surge 03.06 | Voltorb 21, Pikachu 18, Raichu 24 (Electric) | Good: resists | Even | **Problem**: weak (WR wins at 28 with TM03 Water Pulse and Mega Kick) | +| Erika 06.02 | Victreebel 29, Tangela 24, Vileplume 29 (Grass, Grass/Poison) | **Problem** | Good | **Problem** | +| Koga 07.05 | Koffing 37, Muk 39, Koffing 37, Weezing 43 (Poison; Koffing and Weezing Levitate) | **Problem**: Grass resisted | Even | Even | +| Sabrina 08.06 | Kadabra 38, Mr. Mime 37, Venomoth 38, Alakazam 43 (Psychic) | **Problem**: Psychic hits Poison | Even | Even | +| Blaine 10.02 | Growlithe 42, Ponyta 40, Rapidash 42, Arcanine 47 (Fire) | **Problem** | Even | Good | +| Giovanni 12.03 | Rhyhorn 45, Dugtrio 42, Nidoqueen 44, Nidoking 45, Rhyhorn 50 (Ground) | Good | **Problem** | Good | +| Lorelei 14.02 | Dewgong 52, Cloyster 51, Slowbro 52, Jynx 54, Lapras 54 (Water/Ice) | **Problem**: Ice | **Problem**: Water resists Fire | Even | +| Bruno 14.03 | Onix 51, Hitmonchan 53, Hitmonlee 53, Onix 54, Machamp 56 | Even (good on Onix) | Even (Charizard's Wing Attack on the fighters) | Good on Onix | +| Agatha 14.04 | Gengar 54, Golbat 54, Haunter 53, Arbok 56, Gengar 58 (Ghost/Poison) | **Problem**: Grass resisted by all | Even | Even | +| Lance 14.05 | Gyarados 56, Dragonair 54 ×2, Aerodactyl 58, Dragonite 60 | **Problem**: no Ice move | **Problem**: no Ice move | Good with TM14 Blizzard (WR) or TM13 | +| Champion 14.06 | see above | **Problem**: Charizard 63 | **Problem**: Blastoise 63 | **Problem**: Venusaur 63 (WR wins) | + +Bulbasaur's problems are late (Erika onward); Charmander's are early (Brock, +Misty) and at Giovanni and Lorelei; Squirtle's are Surge and Erika. + +### HM users + +| HM | Bulbasaur | Charmander | Squirtle | |---|---|---|---| -| Sweeper, Surf, Strength (later Rock Smash, Waterfall) | Squirtle → Blastoise | 00.04 | Learns all four HMs. WR moves at the League: Surf, Strength, Bite, Blizzard. | -| Cut | Rattata (WR, Route 1) | 00.05–00.07 capture | Learns Cut and Rock Smash. With `item_dupe`, Farfetch'd covers Cut too. | -| Fly (`fly`) | Pidgey (WR) or Farfetch'd | Route 1/2 capture, or 03.02 trade | Both learn Fly. | -| Flash (`flash`) | Mr. Mime (with `item_dupe`) | 04.01 trade | Rattata, Pidgey and Blastoise can't learn Flash. Without `item_dupe`, a Flash user is another capture (not planned). | -| Knock Off (`item_dupe`) | Farfetch'd CH'DING | 03.02 trade for Spearow | Holds a Stick. | -| Recycle (`item_dupe`) | Mr. Mime MIMIEN | 04.01 trade for Abra | | +| Cut (03.04) | Bulbasaur | Charmander | Rattata (WR, Route 1) or Farfetch'd (`item_dupe`) | +| Flash (`flash`) | Bulbasaur | Pikachu (FULL); LG: Starmie | LG: Starmie; else Mr. Mime (`item_dupe`) | +| Surf (first use 09.01) | FR: Lapras; LG: Starmie | FR: Lapras; LG: Starmie | Squirtle | +| Strength | Bulbasaur | Charmander | Squirtle | +| Fly (`fly`) | Pidgey (Route 1/2) | Charizard (from Lv36) | Pidgey (WR) or Farfetch'd | +| Rock Smash / Waterfall (postgame) | Bulbasaur / the Surf user | Charmander / the Surf user | Squirtle | + +Rattata, Pidgey and Blastoise can't learn Flash; Bulbasaur and Charmander +can't learn Surf. Fallback Surf users in both versions: Vaporeon (`eevee`, Lv25 +at 06.01, Water Stone sold in the same building) and Gyarados (`magikarp`, +evolves at 20). Lapras is a gift in both versions; LeafGreen prefers Starmie +because it also covers Koga, Agatha and Flash. + +### Supporters by starter and version + +"Req." is REQUIRED (always taken); "FULL" only with `supporters=FULL`. + +| Starter | Version | Supporter | Fixes | Where and when (decomp) | Then | Taken | +|---|---|---|---|---|---|---| +| Bulbasaur | both | Pidgey → Pidgeotto | Fly; Erika (Wing Attack at 27) | Route 1/2 grass, Lv2–5, 00.05–00.07 | — | Req. with `fly`, else FULL | +| Bulbasaur | FR | Lapras | Surf; Blaine; Lance (Ice Beam at 31); Champion's Charizard | Silph 7F gift, Lv25, 08.04 (`lapras_gift`) | `TEACH(Surf)` before 09.01 | Req. | +| Bulbasaur | FR | Growlithe → Arcanine (FR exclusive) | Erika; Koga (strong, even); Blaine with TM28 Dig; Lorelei's Jynx and Cloyster | Route 8 (20%, Lv15–18) or Route 7 (10%, Lv18–20), 05.03 | Fire Stone ¥2,100 at 06.01; TM28 (02.07) | FULL | +| Bulbasaur | LG | Staryu → Starmie (LG exclusive) | Surf, Flash; Koga and Agatha with TM29 Psychic; Blaine; Champion's Charizard | Super Rod only: Vermilion, Pallet, Cinnabar, S.S. Anne exterior (40%, Lv15–25); 07.03 detour, see below | Water Stone ¥2,100 at 06.01; TM29 from Mr. Psychic, Saffron (06.06) | Req. | +| Bulbasaur | LG | Vulpix → Ninetales (LG exclusive) | Erika; Blaine with TM28 Dig | as Growlithe | Fire Stone ¥2,100; TM28 | FULL | +| Charmander | both | Mankey | Brock: Low Kick at 6 (power by weight, high on Onix) | Route 22 grass (45%, Lv2–5): a west detour in 00.07 | — | FULL (fallback: Metal Claw at 13) | +| Charmander | both | Pikachu → Raichu | Misty (Thunder Shock, Thunder Wave at 8); rival's Squirtle line; Lorelei's Water types; Lance's Gyarados | Viridian Forest (5%, Lv3–5), 00.08, bounded encounters | Thunderbolt at 26; Thunder Stone ¥2,100 at 06.01 | FULL | +| Charmander | FR | Lapras | Surf; Giovanni; Lorelei; Lance (Ice Beam) | 08.04 (`lapras_gift`) | `TEACH(Surf)` before 09.01 | Req. | +| Charmander | LG | Staryu → Starmie | Surf, Flash; Giovanni; Lorelei with TM24 (`prize_tm`) | as for Bulbasaur | as for Bulbasaur | Req. | +| Squirtle | both | Rattata, Pidgey → Pidgeotto | Cut, Fly (WR); Pidgeotto for Erika | Rattata: Route 1 (WR); Pidgey: Route 1/2 (50%/45%, Lv2–5) | — | Req. (Pidgey with `fly`) | +| Squirtle | both | — (TM28 Dig on Squirtle, from 02.07) | Surge: Ground hits all three; none Levitate | — | `TEACH(TM28)` before 03.06, or the WR's Water Pulse + Mega Kick | FULL | +| Squirtle | FR | Growlithe → Arcanine | Erika; Champion's Venusaur | as above | Fire Stone | FULL | +| Squirtle | FR | Lapras | Second Ice user; TM24/TM29 carrier | 08.04 (`lapras_gift`) | — | optional | +| Squirtle | LG | Staryu → Starmie | Koga, Agatha and the Champion's Venusaur with TM29 Psychic; Flash | as for Bulbasaur | Water Stone; TM29 | FULL | +| Squirtle | LG | Vulpix → Ninetales | Erika | as above | Fire Stone | FULL | + +Alternatives considered and not planned: Oddish (FR, Route 24/25) only has +Absorb before Lv14, too weak for Misty; Bellsprout (LG, Route 24 25%, Vine Whip +at Lv1) fixes Charmander's Misty but needs Misty moved after Bill (a schedule +change); Butterfree's Confusion is resisted by Starmie; Diglett (Diglett's +Cave, 95%) is reached in 04.01, after Surge in our order, and Koga's Levitate +users are immune to Ground. + +**LeafGreen Staryu.** It is only on the Super Rod (decomp: fishing slot 6 in +seven LeafGreen maps; no grass, surf, gift or trade), so it can't join before +07.03. Two placements: + +- 07.03 (EAST, proposed): take the Super Rod (`super_rod` on), walk north to + the Route 11 gate beside the Snorlax tile and west along Route 11 (72 tiles + wide) to Vermilion, fish with a bounded bite count, come back. About 90 + tiles each way (estimated from the map sizes). Starmie then trains from Koga + on. +- 09.01 (no detour): fish at Pallet before surfing south; the row already + stands there. Starmie is Lv15–25 against Blaine's 47, so this needs + `item_dupe` Rare Candies or a long GRIND. Fallback for WEST. + +Buy the Water Stone at 06.01 either way and evolve on capture: Starmie +learns no level-up moves after Lv1 except Confuse Ray at 33, so evolving at +once only loses Staryu's later moves (Bubble Beam 28), which TMs replace. + +### Catches, purchases and teaching added to rows + +| Row | Step | When | +|---|---|---| +| 00.05–00.07 | `CAPTURE(rattata)` (Squirtle); `CAPTURE(pidgey)` (Bulbasaur, Squirtle) | per the table above | +| 00.07 | West detour to Route 22 grass; `CAPTURE(mankey)` | Charmander, FULL | +| 00.08 | `CAPTURE(pikachu)` in Viridian Forest, bounded | Charmander, FULL | +| 02.07 → 03.06 | `TEACH(TM28, squirtle)` | Squirtle, FULL | +| 05.03 | `CAPTURE(growlithe)` (FR) / `CAPTURE(vulpix)` (LG) on Route 8 | Bulbasaur FULL, Squirtle FULL | +| 06.01 | `ITEM`: Fire / Thunder / Water Stone, ¥2,100 each (Dept. Store 4F); evolve | per plan | +| 06.06 | Saffron: Mr. Psychic's house, TM29 (`SaffronCity_MrPsychicsHouse`) | LG Starmie | +| 07.03 | LG: Super Rod; Vermilion detour; `CAPTURE(staryu)`; evolve | LG, Bulbasaur/Charmander Req., Squirtle FULL | +| 07.07 | `TEACH(Surf)` to the Surf user (FR Bulbasaur/Charmander: after 08.04) | all | +| 08.04 | `lapras_gift` on | FR Bulbasaur/Charmander | +| 09.01 | Fallback `CAPTURE(staryu)` at Pallet before surfing | LG, WEST road | In-game trades (all in `ingame_trades.h`; the received Pokemon has the level -of the one given): +of the one given). None is needed by a starter plan; the first two serve +`item_dupe`. | You give | You get | Where | Plan use | |---|---|---|---| -| Abra | Mr. Mime MIMIEN | Route 2 house | `item_dupe` | +| Abra | Mr. Mime MIMIEN | Route 2 house | `item_dupe`; Flash for Squirtle | | Spearow | Farfetch'd CH'DING (Stick) | Vermilion house | `item_dupe`, Cut/Fly | | Poliwhirl | Jynx ZYNX (Fab Mail) | Cerulean house | — (pomeg mentions it can affect the glitch state; not used) | | Nidoran (one sex) | Nidoran (other) MS./MR. NIDO | Underground Path north entrance (Route 5) | — | @@ -339,11 +552,14 @@ of the one given): | Venonat | Tangela TANGENY (Stardust) | Cinnabar Lab lounge | — | | Ponyta | Seel SEELOR | Cinnabar Lab experiment room | — | -Levels per major fight: opponent's highest level (decomp), the WR sweeper's -level there (speedrun notes), and a DEFAULT target (estimated: WR level, at -least the opponent's ace + 2 for gyms and rivals). Our order differs from the -WR's after Celadon (it did Koga and Blaine before Erika), so later WR levels -are a guide, not a curve to copy. +### Levels and GRIND steps + +Levels per major fight: opponent's highest level (decomp, the same for every +starter), the WR sweeper's level there (speedrun notes), and a DEFAULT target +(estimated: WR level, at least the opponent's ace + 2 for gyms and rivals). +Our order differs from the WR's after Celadon (it did Koga and Blaine before +Erika), so later WR levels are a guide, not a curve to copy. A supporter that +takes a fight is held to the same target for it. | Fight | Checkpoint | Opponent max | WR level | DEFAULT target | |---|---|---|---|---| @@ -369,17 +585,27 @@ are a guide, not a curve to copy. The WR is under target at Koga, Blaine and the League and wins with X items (X Special, X Speed, X Accuracy) and Full Restores; DEFAULT buys those too. -**GRIND steps (no `item_dupe`).** `GRIND(where, level)`: fight until the lead -reaches the level, with a bounded encounter count, then heal. Proposed, all -estimated until runs measure EXP: +**Second carrier (Bulbasaur, Charmander).** Their late problems need the Surf +user (Lapras Lv25 at 08.04, or Starmie Lv15–25 at 07.03) to carry fights from +Blaine (Bulbasaur) or Giovanni (Charmander) on: roughly +25 levels on a second +Pokemon by 10.02/12.03, and to 58 by the League (estimated). That is the main +cost of these starters. With `item_dupe`, add about 25–35 Rare Candies to +`item_dupe.rare_candies` (estimated); without it, add GRINDs below. -| Before | GRIND | Notes | -|---|---|---| -| 02.01 Misty | Route 24/25 trainers, first pass (02.02–02.04 are on the way) | Fight Misty after Bill if below 23 (schedule change) | -| 03.06 Surge | Vermilion: Route 6/11 trainers | | -| 07.05 Koga | Route 12–15 trainers (EAST road) | Most of the gap closes on the road itself | -| 10.02 Blaine | Cinnabar Mansion trainers / Route 21 | | -| 14.01 League | Victory Road and Route 23 wild Pokemon | Biggest gap: 55→58 | +**GRIND steps (no `item_dupe`).** `GRIND(who, where, level)`: fight until the +named Pokemon reaches the level, with a bounded encounter count, then heal. +Proposed, all estimated until runs measure EXP: + +| Before | GRIND | Starters | Notes | +|---|---|---|---| +| 00.09 Brock | Mankey to ~10 on Route 22, or Charmander to 13 (Metal Claw) | Charmander | | +| 02.01 Misty | Route 24/25 trainers, first pass (02.02–02.04 are on the way) | all; Charmander: Pikachu to ~16 | Fight Misty after Bill if below 23 (schedule change) | +| 03.06 Surge | Vermilion: Route 6/11 trainers | all | | +| 06.02 Erika | the fire or flying supporter to 32 | Bulbasaur, Squirtle (FULL) | Celadon is where the stones are bought | +| 07.05 Koga | Route 12–15 trainers (EAST road) | all; LG: Starmie from 07.03 | Most of the gap closes on the road itself | +| 10.02 Blaine | Cinnabar Mansion trainers / Route 21 | all; Bulbasaur: the Surf user to 49 | | +| 12.03 Giovanni | Route 21 / Seafoam surf encounters | Charmander: the Surf user to 52 | | +| 14.01 League | Victory Road and Route 23 wild Pokemon | all; both carriers to 58 | Biggest gap: 55→58 | With `item_dupe`, every GRIND for the sweeper after `06.07` is replaced by a Rare Candy step (`ITEM(rare_candy, n)` to the table's target). The two @@ -406,12 +632,21 @@ decomp, **(w)** speedrun notes, **(e)** estimated. Prices are `items.json` | 06.01 `prize_tm` | Game Corner TM: TM13 Ice Beam 4000 coins, TM24 Thunderbolt 4000, TM35 Flamethrower 4000, TM23 Iron Tail 3500, TM30 Shadow Ball 4500; coins ¥1,000 per 50 (¥20 each) | Ice Beam = ¥80,000 (d) | | 06.01 `game_corner_prize.rng` | Prize Pokemon, FR: Abra 180, Clefairy 500, Dratini 2800, Scyther 5500, Porygon 9999 coins; LG: Abra 120, Clefairy 750, Pinsir 2500, Dratini 4600, Porygon 6500 | FR Dratini = ¥56,000 (d) | | 07.06 | Safari Zone entry | ¥500 (d) | +| 06.01 team plan | Evolution stones, ¥2,100 each (d), and about 3 Poke Balls (¥200, d) per planned capture (e); per plan below | ¥0–6,000 | | 14.01 | ~13 Full Restores (WR bought about 13) | ¥39,000 (d price, w count) | | — | Bicycle: voucher, free | ¥0 | The WR gets Blizzard free (TM14, Pokemon Mansion B1F item ball (d)), so `prize_tm` is off by default. +Team-plan purchases by `starter` × `game_version` (stones (d), balls (e)): + +| Starter | FR, REQUIRED | FR, FULL | LG, REQUIRED | LG, FULL | +|---|---|---|---|---| +| Bulbasaur | ¥0 (¥600 with `fly`) | ¥3,300: Pidgey, Growlithe, Fire Stone | ¥2,700: Staryu, Water Stone | ¥6,000: + Pidgey, Vulpix, Fire Stone | +| Charmander | ¥0 | ¥3,300: Mankey, Pikachu, Thunder Stone | ¥2,700: Staryu, Water Stone | ¥6,000: + Mankey, Pikachu, Thunder Stone | +| Squirtle | ¥0 (WR) | ¥2,700: Growlithe, Fire Stone | ¥0 | ¥5,400: Staryu, Vulpix, Water and Fire Stones | + ### Sources - Trainer payouts: `4 × last Pokemon's level × class base × 2 if double × @@ -475,14 +710,14 @@ between floor and estimate. | Plan | Deficit (floor) | Loops (floor) | Loops (estimate) | |---|---|---|---| | No dupe | ¥24,350 by 14.01 (¥6,498 by 06.01) | 8 | 0 | +| No dupe, costliest team plan (LG Bulbasaur/Charmander FULL, +¥6,000) | ¥30,350 by 14.01 (¥12,498 by 06.01) | 10 | 0 | | No dupe + `prize_tm` Ice Beam | ¥104,350 | 34 (or 15 at tier 2 with Amulet Coin) | 0 | | `item_dupe` (skip X items; keep the bridge Nugget as the seed; 15 Retro Mail) | ¥3,348 at 06.01 | 2 | 0 | | `item_dupe` after 06.07 | covered by duplicated Nuggets (¥5,000 each, 8 for the League) | 0 | 0 | -`nugget_bridge_loop` (off unless the plan needs it): runs N loops in 04.02, -before Route 9. Default N comes from this ledger at run start: the floor -deficit up to the next money check divided by the expected loop payout, -rounded up; the user can override it. It also serves the glitch-setup GRINDs. +`nugget_bridge_loop` ([option](#economy-and-grinding)) reads this ledger: +AUTO's N is the floor deficit up to the next money check divided by the +expected loop payout, rounded up. Every loop count is an estimate until a console run measures payouts per loop and steps per Vs. Seeker use. @@ -501,11 +736,11 @@ RNG split of `00.04`) get their ids in that PR. | 00.01 | New game to the bedroom | title screen | Intro, player and rival names `[opt: player_name, sid_helper_handoff]` | bedroom (6,6) N | 开局1 | | 00.02 | Bedroom to Pallet Town | BEDROOM (6,6) N | Downstairs, out of the house | PALLET (6,8) S | 开局2 | | 00.03 | Oak stops the player | PALLET (6,8) S | North-exit trigger; Oak escorts to the lab | LAB (6,4) N | 开局2 | -| 00.04 | Squirtle, then the rival's battle | LAB (6,4) N | Pick the starter; rival picks the counter; tutorial battle (`may_lose`) `[opt: starter_rng_handoff]` | LAB (7,8) S | 开局3, 开局4, 开局5 | +| 00.04 | Squirtle, then the rival's battle | LAB (6,4) N | Pick `starter` (today's table: Squirtle); rival picks the counter; tutorial battle (`may_lose`) `[opt: starter_rng_handoff]` | LAB (7,8) S | 开局3, 开局4, 开局5 | | 00.05 | Route 1 to Viridian Mart | LAB (7,8) S | Route 1 north; Mart clerk gives Oak's Parcel | VIRIDIAN_MART (4,3) W | 开局6, 开局7 | | 00.06 | Parcel to the Pokedex | VIRIDIAN_MART (4,3) W | Back to Pallet; deliver Parcel; Pokedex and balls `[opt: town_map — rival's house, Daisy]` | LAB (6,4) S | 开局8, 开局9, *开局10* | -| 00.07 | Viridian shopping, into the forest | LAB (6,4) S | Route 1 north; shop; old man; Route 2 west into Viridian Forest `[opt: route22_rival_early — Route 22 battle before Route 2]` | FOREST (29,62) N | 开局11, *开局12*, 开局13 | -| 00.08 | Forest to Pewter Center | FOREST (29,62) N | Forest trainers in path; Pewter Center heal | PEWTER_CENTER (7,4) N | 开局13 | +| 00.07 | Viridian shopping, into the forest | LAB (6,4) S | Route 1 north; shop; old man; Route 2 west into Viridian Forest `[opt: route22_rival_early — Route 22 battle before Route 2]` `[team: Route 22 CAPTURE(mankey)]` | FOREST (29,62) N | 开局11, *开局12*, 开局13 | +| 00.08 | Forest to Pewter Center | FOREST (29,62) N | Forest trainers in path `[team: CAPTURE(pikachu), bounded]`; Pewter Center heal | PEWTER_CENTER (7,4) N | 开局13 | | 00.09 | Camper Liam, then Brock | PEWTER_CENTER (7,4) N | Gym; Liam; Brock → Boulder Badge | GYM (6,6) N | 开局14 | | 00.10 | The Running Shoes | GYM (6,6) N | Route 3 entrance trigger; Oak's aide gives Running Shoes | PEWTER (46,21) N | 开局15 | | 00.11 | A run to a wall | PEWTER (46,21) N | Timing run for running calibration (lab row) | — | — | @@ -541,7 +776,7 @@ a schedule change, not an option. | 03.01 | Route 6 to Vermilion | `@Route6.underground_exit` | Route 6 trainers on the path; Vermilion Center `heal` | `@Vermilion.center_counter` | 中局3 | | 03.02 | To the harbor | `@Vermilion.center_counter` | `[opt: vs_seeker]` girl in the Center; `[opt: bike_voucher]` Fan Club chairman; `[opt: old_rod]` Fishing Guru; `[opt: item_dupe]` trade Spearow for Farfetch'd (Vermilion house), `GRIND(farfetchd, 21)` for Knock Off; harbor ticket check; board | `@SSAnne.1F_entry` | *中局4*, *中局5*, *中局6*, 中局7, 中局8 | | 03.03 | Ship rival | `@SSAnne.1F_entry` | Route to the captain's deck; `PREP(rival_ship)`; `battle(rival_ss_anne)` | `@SSAnne.captain_hall` | 中局9 | -| 03.04 | Captain's Cut | `@SSAnne.captain_hall` | `talk(captain)`; back-rub `scene`; HM01; leave; ship departs; `PARTY(cut_user)`; `TEACH(Cut, slot)`. Squirtle can't learn Cut: needs a caught Cut user (WR: Rattata from Route 1). | `@Vermilion.center_counter` | 中局10 | +| 03.04 | Captain's Cut | `@SSAnne.captain_hall` | `talk(captain)`; back-rub `scene`; HM01; leave; ship departs; `PARTY(cut_user)`; `TEACH(Cut, slot)`. Cut user per the [team plan](#hm-users): Bulbasaur or Charmander itself; Squirtle can't learn Cut (WR: Rattata from Route 1). | `@Vermilion.center_counter` | 中局10 | | 03.05 | Surge's switches | `@Vermilion.center_counter` | `FIELD(Cut, gym_tree)`; gym trainers on the path; `PUZZLE(two_trash_switches)` read from the screen, bounded attempts | `@VermilionGym.surge_front` | 中局11 | | 03.06 | Thunder Badge | `@VermilionGym.surge_front` | `PREP(Surge)` (needs a Ground or other validated plan); `battle(Surge)`; Thunder Badge, TM34; Center `heal` | `@Vermilion.center_counter` | 中局11 | @@ -561,18 +796,18 @@ Default skips Flash and walks Rock Tunnel dark, as the WR does (45:00–50:00 in |---|---|---|---|---|---| | 05.01 | Rock Tunnel to Lavender | `@Route10.center_counter` | Rock Tunnel floors and ladders, dark (or `FIELD(Flash)` with `[opt: flash]`); path trainers; Route 10 south; Lavender Center `heal`. Hears Fuji is missing; does not enter the Tower. | `@Lavender.center_counter` | 中局13, 中局14 | | 05.02 | `[opt: early_tower]` Tower 2F rival | `@Lavender.center_counter` | Enter the Tower; 2F rival trigger (decomp `PokemonTower_2F` coord events (17,5), (16,6)); `battle(rival_tower)`; 3F ghosts can't be fought without the Scope: flee | `@Lavender.center_counter` | 中局14, *中局15*, *中局16* | -| 05.03 | West to Celadon | `@Lavender.center_counter` | Route 8 (with `item_dupe`, out of Twins Eli & Anne's sight); Underground Path (7–8); Route 7; Celadon Center. No Saffron gate before the Tea. | `@Celadon.center_counter` | 中局17 | +| 05.03 | West to Celadon | `@Lavender.center_counter` | Route 8 (with `item_dupe`, out of Twins Eli & Anne's sight) `[team: CAPTURE(growlithe \| vulpix)]`; Underground Path (7–8); Route 7; Celadon Center. No Saffron gate before the Tea. | `@Celadon.center_counter` | 中局17 | ### Segment 06 — Celadon, Celadon Gym, Rocket Hideout, Pokemon Tower (Part 9) | ID | Title | Start | Does | End / save | 52poke | |---|---|---|---|---|---| -| 06.01 | Celadon services | `@Celadon.center_counter` | Mansion 1F old lady: Tea; Dept. Store by budget `[opt: coin_case]` `[opt: game_corner_prize]` `[opt: eevee]` `[opt: prize_tm]` `[opt: item_dupe — 15 Retro Mail]` | `@Celadon.center_counter` | *中局19*, *中局23*, 中局24 | +| 06.01 | Celadon services | `@Celadon.center_counter` | Mansion 1F old lady: Tea; Dept. Store by budget `[opt: coin_case]` `[opt: game_corner_prize]` `[opt: eevee]` `[opt: prize_tm]` `[opt: item_dupe — 15 Retro Mail]` `[team: evolution stones, evolve]` | `@Celadon.center_counter` | *中局19*, *中局23*, 中局24 | | 06.02 | Rainbow Badge | `@Celadon.center_counter` | Cut the gym tree; gym trainers on the path; `PREP(Erika)`; `battle(Erika)`; Rainbow Badge, TM19 | `@Celadon.center_counter` | 中局18 | | 06.03 | Hideout entrance | `@Celadon.center_counter` | Game Corner; `battle(poster_grunt)`; press the poster switch; stairs | `@RocketHideoutB1F.stairs` | 中局20 | | 06.04 | Lift Key | `@RocketHideoutB1F.stairs` | Spinner floors to B4F northwest room; `battle(key_grunt)`; **talk again**; pick up the Lift Key | `@RocketHideoutB4F.key_room` | 中局21 | | 06.05 | Hideout Giovanni | `@RocketHideoutB4F.key_room` | Lift to B4F; door guards; `PREP(giovanni_hideout)`; `battle(giovanni_hideout)`; Silph Scope | `@Celadon.center_counter` | 中局22 | -| 06.06 | Tea and back to Lavender | `@Celadon.center_counter` | Route 7 gate: guard takes the Tea; through Saffron; Route 8 gate (with `item_dupe`, still out of the Twins' sight); Lavender Center | `@Lavender.center_counter` | 中局25, 中局26 | +| 06.06 | Tea and back to Lavender | `@Celadon.center_counter` | Route 7 gate: guard takes the Tea; through Saffron `[team: TM29 from Mr. Psychic]`; Route 8 gate (with `item_dupe`, still out of the Twins' sight); Lavender Center | `@Lavender.center_counter` | 中局25, 中局26 | | 06.07 | `[opt: item_dupe]` The mail glitch | `@Lavender.center_counter` | Party: berry holder, Farfetch'd (Knock Off), Mr. Mime (Recycle, holding Retro Mail); to Route 8; `battle(twins_eli_anne)` as a double: berry eaten, switch Mr. Mime in, Knock Off it, Recycle; check no one holds Mail (else reload); Center: fill party, Mail on five; hand off to ItemDuplication (or duplicate in-table): Rare Candies and Nuggets per the plans; sell Nuggets; `ITEM(rare_candy)` to the team plan's target. Box 3 Slot 1 stays empty from here. | `@Lavender.center_counter` | — | | 06.08 | Tower rival and ascent | `@Lavender.center_counter` | Tower; 2F rival (skipped if `early_tower` won it); 3F–5F with the healing zone | `@PokemonTower5F.stairs_up` | 中局15 (if not early) | | 06.09 | Marowak | `@PokemonTower5F.stairs_up` | 6F: Scope reveals Marowak; `battle(marowak_ghost)` — can't be caught | `@PokemonTower6F.stairs_up` | 中局27 | @@ -587,11 +822,11 @@ Default skips Flash and walks Rock Tunnel dark, as the WR does (45:00–50:00 in |---|---|---|---|---|---| | 07.01 | `[opt: fly]` HM02 Fly | `@Lavender.center_counter` | Through Saffron to Celadon; Route 16 north via Cut (no Snorlax); house: HM02; `TEACH(Fly)`; `FIELD(Fly, Lavender)` | `@Lavender.center_counter` | *中局37* | | 07.02 | EAST: Route 12 Snorlax | `@Lavender.center_counter` | Route 12; flute; `battle(snorlax)` by policy (flee \| defeat \| capture) | `@Route12.snorlax_tile` | 中局30, *中局31* | -| 07.03 | EAST: Routes 12–15 to Fuchsia | `@Route12.snorlax_tile` | Routes 12, 13, 14, 15 trainers on the path `[opt: super_rod]` `[opt: itemfinder]` `[opt: exp_share]`; Fuchsia Center | `@Fuchsia.center_counter` | *中局32*, *中局33*, 中局34, *中局35* | +| 07.03 | EAST: Routes 12–15 to Fuchsia | `@Route12.snorlax_tile` | Routes 12, 13, 14, 15 trainers on the path `[opt: super_rod]` `[team: LG Vermilion detour, CAPTURE(staryu)]` `[opt: itemfinder]` `[opt: exp_share]`; Fuchsia Center | `@Fuchsia.center_counter` | *中局32*, *中局33*, 中局34, *中局35* | | 07.04 | WEST: Cycling Road to Fuchsia | `@Lavender.center_counter` | Needs `bike_voucher`. To Celadon; Route 16 flute and Snorlax; `[opt: amulet_coin]`; Cycling Road (17) downhill; Route 18; Fuchsia Center | `@Fuchsia.center_counter` | *中局36*, *中局38*, 中局39 | | 07.05 | Soul Badge | `@Fuchsia.center_counter` | Invisible-wall gym path; trainers on it; `PREP(Koga)`; `battle(Koga)`; Soul Badge, TM06 | `@Fuchsia.center_counter` | 中局40 | | 07.06 | Safari: Gold Teeth and Surf | `@Fuchsia.center_counter` | Pay; Safari encounter mode (never the normal battle handler); Areas 1→3; Gold Teeth; Secret House: HM03; leave by a known exit | `@Fuchsia.center_counter` | 中局41, 中局42 | -| 07.07 | Strength, party | `@Fuchsia.center_counter` | Warden: teeth → HM04; `TEACH(Strength)`, `TEACH(Surf)` to chosen members `[opt: good_rod]` | `@Fuchsia.center_counter` | 中局41, *中局43* | +| 07.07 | Strength, party | `@Fuchsia.center_counter` | Warden: teeth → HM04; `TEACH(Strength)`, `TEACH(Surf)` to the [team plan](#hm-users)'s users (FR Bulbasaur/Charmander: Surf after 08.04) `[opt: good_rod]` | `@Fuchsia.center_counter` | 中局41, *中局43* | ### Segment 08 — Saffron, Silph Co., Fighting Dojo, Saffron Gym (Part 11) @@ -611,7 +846,7 @@ boulder puzzle, and it is the WR's road. | ID | Title | Start | Does | End / save | 52poke | |---|---|---|---|---|---| -| 09.01 | ROUTE21: Pallet and Route 21 | `@Saffron.center_counter` | To Pallet (walk via Vermilion, Diglett's Cave and Route 2, or `FIELD(Fly)`); `FIELD(Surf)` south on Route 21; Cinnabar Center | `@Cinnabar.center_counter` | *中局44* (second half), 终局12 | +| 09.01 | ROUTE21: Pallet and Route 21 | `@Saffron.center_counter` | To Pallet (walk via Vermilion, Diglett's Cave and Route 2, or `FIELD(Fly)`); `[team: fallback CAPTURE(staryu) at Pallet]`; `FIELD(Surf)` south on Route 21; Cinnabar Center | `@Cinnabar.center_counter` | *中局44* (second half), 终局12 | | 09.02 | SEAFOAM: Routes 19/20 and Seafoam | `@Saffron.center_counter` | To Fuchsia; Surf Routes 19, 20 east; Seafoam floors with Strength boulders and currents `[opt: articuno — STOP_AT before Articuno]`; Route 20 west; Cinnabar Center | `@Cinnabar.center_counter` | *中局44* (first half), *终局4*, *终局5*, 终局12 | ### Segment 10 — Cinnabar Island, Pokemon Lab, Mansion, Cinnabar Gym (Part 13) @@ -712,12 +947,13 @@ Starts after a break: the user brings the save to 60 caught species. If | Capability or state | Made by | Needed by | |---|---|---| | S.S. Ticket | 02.05 | 02.07 (officer moves), 03.02 | -| A Cut user + HM01 | caught Pokemon + 03.04 | 03.05, 04.03, 06.02, 07.01, 15.08 | +| A Cut user + HM01 | [team plan](#hm-users) + 03.04 | 03.05, 04.03, 06.02, 07.01, 15.08 | | Flash (optional) | 04.01, 10 caught | 05.01 lit; default walks dark | | Silph Scope | 06.05 | 06.09 | | Tea | 06.01 | 06.06 (Saffron gates) | | Poke Flute | 06.11 | 07.02 or 07.04 | | Bicycle | `bike_voucher` | 07.04 (WEST) | +| A Surf user (Bulbasaur, Charmander) | 08.04 Lapras (FR) or 07.03 Staryu (LG) | 09.01 | | Surf + Soul Badge | 07.06 + 07.05 | 09.01/09.02, 12.01, 13.02 | | Strength + Rainbow Badge | 07.07 + 06.02 | 09.02, 13.03–13.04 | | Fly + Thunder Badge | 07.01 | 12.02, optional shortcuts | From 16c28c441659cc4f842bd5a8bc661db03d946c06 Mon Sep 17 00:00:00 2001 From: dayfine Date: Mon, 2 Nov 2026 15:39:41 -0800 Subject: [PATCH 6/6] Design: AutoStory plans the Starter RNG attempts over SID candidates Replaces "AutoStory never picks seeds": the Starter RNG stop reads the TID, plans attempts over SID Helper's candidates (fork #182), and the user still runs Starter RNG per attempt for now. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01AKYzhrMnPK61XHWEch4a6E --- docs/design/AutoStory-FRLG-FutureEvents.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/docs/design/AutoStory-FRLG-FutureEvents.md b/docs/design/AutoStory-FRLG-FutureEvents.md index 57256617cd..88726fdb45 100644 --- a/docs/design/AutoStory-FRLG-FutureEvents.md +++ b/docs/design/AutoStory-FRLG-FutureEvents.md @@ -292,8 +292,15 @@ Two more programs could hook in later; not designed here: ## RNG plan setting -The user decides targets before the run, with an RNG search tool, and fills -one table. AutoStory never picks seeds. +For the starter, AutoStory plans the targets itself (fork #182): at the +Starter RNG stop it reads the TID off the Trainer Card, searches Starter RNG +targets for SID Helper's candidate SIDs (`search_rng_targets()`, fork #181), +and lists the attempts in order, each shiny for the likeliest candidates the +earlier ones leave. The user still runs Starter RNG for each attempt by hand +for now; a hit that isn't shiny rules its SIDs out, and a shiny confirms the +SID for later targets. Filters (natures, minimum IVs, shiny required) and the +TID/SID overrides are the "RNG Plan" options. For the other targets the user +still picks them before the run, with an RNG search tool, and fills one table. | Field | Scope | Notes | |---|---|---| @@ -301,7 +308,7 @@ one table. AutoStory never picks seeds. | Language | shared | Picks the seeds list (only English and Japanese lists exist; other languages use English) | | Sound | shared | Mono / Stereo; the in-game setting must match | | Switch profile position | shared | The RNG programs' `PROFILE` option | -| TID / SID | shared | From `sid_helper_handoff` or entered by the user; targets are searched with it | +| TID / SID | shared | TID read off the Trainer Card at the Starter RNG stop (or entered); SID confirmed by the starter plan or entered; targets are searched with it | | Target | per row | One of the targets above | | Target Seed, Advances | per row | From the search tool | | Target-specific | per row | Starter species, Game Corner prize, fossil: must match `starter`, `game_corner_prize`, `fossil` (check R4) |