Open Routes 38 to 41, Olivine and Cianwood to the Mineral Badge (#32)
Checks / web (push) Successful in 1m46s
Private ROM checks / private-rom (push) Failing after 39m32s

Enable Route 38 and its Ecruteak gate, Route 39 with the MooMoo farm,
Olivine City and its buildings, the Lighthouse's six floors, Routes 40
and 41, and Cianwood City with its gym, pharmacy, Photo Studio, Mania's
house, the Poke Seer and the Lugia speech house. Olivine's port, the
Battle Tower gate and Whirl Islands stay closed. The story runs from the
rival in Olivine through Jasmine and Amphy, Suicune and Eusine, the
SecretPotion, Chuck's boulders, the STORMBADGE, TM01 and HM02, back to
Amphy's cure, Jasmine, the MINERALBADGE and TM23.

Port GiveShuckle and ReturnShuckie with every return code and Mania's
wrong last-Pokemon speech, PokeSeer with its high-byte-only OT check and
reused caught level, PhotoStudio's no-printer path (Printer Error 2),
and PlaySlowCry. wMooMooBerries joins the saved script bytes.

Port trainer item AI: the 13 healing, status and X items, the
highest-level gate, item use while Mean Look or Wrap prevents
switching, and the original's random and state quirks, checked against
the ROM over 5,632 states. Leaders with items are no longer refused.

Game Corner sprites match the original frame by frame: cursor and reel
positions, Golem's whole-frame flips, frame timing, the frame a removed
sprite is still drawn, and the Golem roll's screen shake. The Burned
Tower rival's garbage trainer header is documented as a boundary: its
seen text dispatches text command $7f into home code before any battle.

The playthrough continues for six stages to Jasmine; its driver can
Surf, fish and travel through floors joined by holes. New tests cover
trainer items, Olivine and Cianwood side content, and reference checks
for trainer items, trainer sight and Game Corner animations.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
kawaandClaude Opus 5.5 committed 2026-10-13 10:09:47 +02:00
1 parent 7c4e8521d4
commit b5c2b19094
29 files changed
+2708 -139

No files matched your search

+61
View File
@@ -829,6 +829,7 @@ export const BATTLE = {
DisabledNoMoreText: 0x80d39,
DoesntAffectText: 0x81071,
EnemyText: 0x1295,
EnemyUsedOnText: 0x3858c,
EnemyWithdrewText: 0x384d0,
ExpPointsText: 0x3f131,
FastAsleepText: 0x80ce7,
@@ -1063,6 +1064,30 @@ export const OPTIONS = {
/** Johto's scripts, routines and tables from Route 32 on, keyed by their
* PRET labels for `npm run check:reference`. */
export const JOHTO = {
"GiveShuckle": 0x7305,
"ReturnShuckie": 0x737e,
"PokeSeer": 0x4f0bc,
"PhotoStudio": 0x16dc7,
"PlaySlowCry": 0xfb841,
"SpecialShuckleOT": 0x7370,
"SpecialShuckleNickname": 0x7376,
"SeerSeeAllText": 0x4f28c,
"SeerCantTellAThingText": 0x4f291,
"SeerNameLocationText": 0x4f296,
"SeerTimeLevelText": 0x4f29b,
"SeerTradeText": 0x4f2a0,
"SeerNoLocationText": 0x4f2a5,
"SeerEggText": 0x4f2aa,
"SeerDoNothingText": 0x4f2af,
"SeerAdviceTexts": 0x4f2d6,
"GetCaughtTime.times": 0x4f1e6,
"UnknownCaughtData.unknown": 0x4f202,
"PhotoStudio.WhichMonPhotoText": 0x16e04,
"PhotoStudio.HoldStillText": 0x16e09,
"PhotoStudio.NoPhotoText": 0x16e13,
"PhotoStudio.EggPhotoText": 0x16e18,
"GBPrinterString_PrinterError2": 0x1dc2e2,
"String_PressBToCancel": 0x847f5,
UnlockedUnownLetterSets: 0x3eba1,
UnownPicPointers: 0x124000,
"InitUnownPuzzlePiecePositions.PuzzlePieceInitialPositions": 0xe126d,
@@ -1235,6 +1260,7 @@ export const JOHTO = {
* writemem, loadmem and readvar), keyed by their PRET labels; the native
* save keeps them by label in `memory`. */
export const SAVED_WRAM = {
wMooMooBerries: 0xd962,
wFarfetchdPosition: 0xd964,
wKurtApricornQuantity: 0xdca4,
wUndergroundSwitchPositions: 0xd963,
@@ -1243,6 +1269,11 @@ export type SavedByte = keyof typeof SAVED_WRAM;
/** Work RAM the native port reads by address but does not save, keyed by
* PRET labels. */
export const WRAM = {
"wSeerNickname": 0xd003,
"wSeerCaughtLocation": 0xd00e,
"wSeerTimeOfDay": 0xd01f,
"wSeerCaughtLevelString": 0xd036,
"wSeerOT": 0xd02a,
wTilemap: 0xc4a0,
wBugContestWinnerName: 0xd016,
wBugContestFirstPlaceScore: 0xd004,
@@ -1264,6 +1295,36 @@ export const LAST_MAP_GROUP_SIZE = 11;
* maps remain unavailable; the label only distinguishes interiors that share
* a ROM landmark name. */
export const NATIVE_MAPS: Record<string, string> = {
"1:1": "Olivine Pokecenter 1F",
"1:2": "Olivine Gym",
"1:3": "Olivine Tims House",
"1:4": "Olivine House Beta",
"1:5": "Olivine Punishment Speech House",
"1:6": "Olivine Good Rod House",
"1:7": "Olivine Cafe",
"1:8": "Olivine Mart",
"1:9": "Route 38Ecruteak Gate",
"1:10": "Route 39Barn",
"1:11": "Route 39Farmhouse",
"1:12": "Route 38",
"1:13": "Route 39",
"1:14": "Olivine City",
"3:42": "Olivine Lighthouse 1F",
"3:43": "Olivine Lighthouse 2F",
"3:44": "Olivine Lighthouse 3F",
"3:45": "Olivine Lighthouse 4F",
"3:46": "Olivine Lighthouse 5F",
"3:47": "Olivine Lighthouse 6F",
"22:1": "Route 40",
"22:2": "Route 41",
"22:3": "Cianwood City",
"22:4": "Manias House",
"22:5": "Cianwood Gym",
"22:6": "Cianwood Pokecenter 1F",
"22:7": "Cianwood Pharmacy",
"22:8": "Cianwood Photo Studio",
"22:9": "Cianwood Lugia Speech House",
"22:10": "Poke Seers House",
"24:3": "Route 29",
"24:13": "Route 29 gate",
"24:4": "New Bark Town",