Skip to content

PokemonFRLG: S14b, Celadon Gym to Erika (14.03, 14.04) - #407

Draft
dayfine wants to merge 43 commits into
frlg/stage12-fuchsia-gymfrom
frlg/stage14b-erika
Draft

dayfine wants to merge 43 commits into
frlg/stage12-fuchsia-gymfrom
frlg/stage14b-erika

Conversation

@dayfine

@dayfine dayfine commented Nov 12, 2026 •

Copy link
Copy Markdown
Owner

Depends on #431 (base frlg/stage12-fuchsia-gym; the diff shows only this change). Story order: 12.02 (Fuchsia), 12.03 Fly to Celadon, then these rows. Stack: #431 <- #407 <- #415 <- #410.

This adds stage S14b, Celadon Gym, as two checkpoints, plus 12.03, which Flies from Fuchsia to Celadon so 14.03 follows 12.02. They only use step types that already exist.

  • 12.03: from Fuchsia's nurse (where 12.02 ends), the Center's legs to its walls and out onto the street (25, 32), then Fly to Celadon, landing on its heal spot (48, 12) facing south, which is 14.03's start. The id sorts between 12.02 and 14.03 (ids are segment.row, files sort by name; 13 is the Cinnabar segment).

  • 14.03: starts where 12.03's Fly lands in Celadon, (48, 12) facing south. Then: Cut the yard's tree (40, 35), go up the gym's west aisle into Beauty Tamia's line, go round her by column 1, Cut the inner tree (3, 5), and step into Beauty Lori's line. It ends below Erika (6, 5), which gives Erika her own pre-battle save.

  • 14.04: Erika, then out the way we came. The cut tree's tile is crossed with single steps, because the map still has the tree there. Then column 1 and column 2 down to their walls, the yard's tree again, and the nurse. PokeGuy uses a same-city Fly here; we walk until Fly exists.

  • CeladonCity_Gym joins the loaded maps. It is already in the pinned map pack and is not edited.

  • With 12.03 in, starts_after_unauthored_rows() is no longer needed here and is removed.

  • 14.03's Lori battle now declares the player facing east (they step east into her line), as the trainer-line facing test from PokemonFRLG: S12, Fuchsia Gym, Koga and the Warden (12.01, 12.02) on the 11.03 stack #431 requires.

  • Not included, because they need the user (TM spend or team change): PokeGuy's two Rare Candies (no step type for them yet) and TM14 Blizzard over Mega Kick (D4).

Testing

  • Headless SerialProgramsTests --filter PokemonFRLG::AutoStory: 791 passed, 18 failed; the 18 are the same image and resource FileExceptions that fail on PokemonFRLG: S12, Fuchsia Gym, Koga and the Warden (12.01, 12.02) on the 11.03 stack #431.
  • Added a new sim test that runs 14.03 and 14.04 on one sim: Tamia and Lori are fought, nobody else, and the run ends below the Center's door. Also checks that the lead never picks a Water move against the gym's Grass types.
  • Updated tests: route golden, checkpoint count, trainer-line count (+Tamia, Lori), run-plan id lists. The fault sweep passes for both rows.
  • New sim test: 12.03 from the nurse to Celadon's heal spot, fighting no one. The 12.03 fault sweep passes except "warp no-op" (a Fly that goes nowhere is unseen), added to KNOWN_FAILING with 11.01's note.
  • Not run on a console.

🤖 Generated with Claude Code

https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss

dayfine and others added 2 commits November 11, 2026 20:19
14.03 starts from Fly's landing in Celadon (48, 12), cuts the yard's
tree, takes the gym's west aisle into Beauty Tamia's line, goes round
her by column 1, cuts the inner tree and steps into Beauty Lori's line,
and ends below Erika for her own save. 14.04 fights Erika, walks out
over the cut tree's tile, cuts the yard's tree again and heals.

Celadon Gym joins the loaded maps. The chain checks skip 14.03's start,
whose rows before it (10 to 14.02) are authored separately. Sim tests
run both rows and the lead's attacks against the gym's parties.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
dayfine and others added 10 commits November 11, 2026 21:06
…Erika

A LEVEL step on the lead before the fight. pokeguy's Blastoise is Lv44
here, and PokemonSimulation's docs/battles/pokeguy-conditions.md sims
that entry (C2 setup, 35/137 HP: 567/620 wins, 91.5%); at his level or above those sims
stand for this fight, below it the run stops before the fight. A sim
test runs the step with a Lv44 and a Lv43 lead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
Row 12.03 leaves Fuchsia's nurse (where 12.02 ends), walks out of the
Center and Flies to Celadon's heal spot, where 14.03 starts, so 14.03 is
no longer authored apart from the rows before it:
starts_after_unauthored_rows() goes.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
…in the bike recovery

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
…ri battle leaves the player facing east

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
@dayfine
dayfine changed the base branch from frlg/stage8-rocktunnel to frlg/stage12-fuchsia-gym November 12, 2026 22:50
dayfine and others added 14 commits November 12, 2026 14:57
…DER), not the ids'

Ids are labels: a gym's rows may be numbered before rows that come first in the story.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
14.04 erika names goal-based-setup with the doc's goals (Sp. Atk +1,
accuracy +2, outspeed, Guard Spec) and the foe rows from the doc's stats,
and a plan test checks them.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
… rows, pinned by a test

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
dayfine and others added 17 commits November 12, 2026 19:50
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
A boss battle is its own checkpoint (user, 2026-11-12). 14.04 starts in front of Erika and ends there after the RAINBOWBADGE and TM19 text; the new 14.04b starts at the same tile and goes out past the tree and heals at Celadon's Center. Ids are not renumbered; the golden, run-plan, table, count and gym tests follow.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
…abar and Flies to Celadon

12.03 takes 17.01's events (Fly to Pallet, a Repel, Surf down Route 21, heal at
Cinnabar) from Fuchsia's nurse, as PokeGuy goes after Koga; 14.03 now starts at
Cinnabar's nurse, steps out and Flies to Celadon. Cinnabar and Route 21 maps join
the planner, Pallet's fat man gets a tile, tests and golden follow.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
…it between 12.03 and 14.03

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
…el-up text, new move declined; 14.03 uses two after Tamia

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant