docs: row 65, the Mt. Moon door ring on the release merge and the Cerulean yard (12.29, audit)

This commit is contained in:
acamilo 2026-09-29 04:01:16 +00:00
parent ceaf55ad48
commit b720db9a42
2 changed files with 155 additions and 3 deletions

View file

@ -1777,7 +1777,7 @@ roles and the compatibility string are untouched.
### 12.28 A ladder underfoot is taken by stepping off it, a ledge is a hop one way, and a way out that goes nowhere is not done (2026-09-28, row 64)
(12.26 and 12.27 are rows 62 and 63, on their own branches.) Live on v0.6.2/v0.6.4 at rank 12
(12.26 and 12.27 are rows 62 and 63.) Live on v0.6.2/v0.6.4 at rank 12
(MT. MOON), from 2026-09-26 to 09-28: about 750 macros per ten brain minutes, all `done`, no reward
and no new ground. They were `GO OBJECTIVE` (61%) and `GO WARP`, 27 frames each. Forty-eight flysim
restarts did not clear it. A milestone reset bought a few hours before it came back.
@ -1786,8 +1786,10 @@ The pulled checkpoint has the fly on **Mt. Moon B2F (5, 7)**, the ladder up to B
which is the one road on. It reproduces the ring with the ledgers empty; nothing needs rebuilding.
- **A ladder fires at the end of a step onto it, and at no other time.** `CheckWarpsNoCollision`
runs after a step completes. A bump into the wall beside a warp fires only at a map's edge off the
overworld (`ExtraWarpCheck` uses `IsPlayerFacingEdgeOfMap` for every tileset but the overworld's).
runs after a step completes. A bump while standing on a warp fires only where `ExtraWarpCheck`
agrees: `IsPlayerFacingEdgeOfMap` on most tilesets, the cave's among them, and
`IsWarpTileInFrontOfPlayer` (a warp carpet in front) on the OVERWORLD, SHIP, SHIP_PORT and
PLATEAU tilesets and on Rocket Hideout B1F/B2F/B4F and Rock Tunnel 1F (12.29).
The fly had come down the ladder and was standing on it. `GO OBJECTIVE`, whose first hop is B1F's
exit chamber, and `GO WARP`, whose second tier is the same ladder, both aimed at the tile
underfoot. Both settled there for twenty frames, pressed nothing, and reported `done`. That is
@ -1837,6 +1839,80 @@ fly: the watchdog, the recovery ladder, and the ROM road tests from each trap's
The decoder, the reward catalog, the adapter version, the roles and the compatibility string are
untouched. Nothing presses for the fly.
### 12.29 A floor whose way on is a passage is not left backwards, and a yard's one door is taken from where the fly stands (2026-09-29, row 65)
Two findings of the row-64 review, both on the road the release was about to put the live fly on.
**The merge.** Rows 62, 63 and 64 together crossed Route 4's west doors 34 times in row 59's ROM
test (bound 25; any two of them 3 to 18). The ring, traced: the fly arrives on Mt. Moon 1F's mouth
(14, 35) and `GO OUT` or `GO HEAL` takes it straight back out; on Route 4 (18, 6) `GO ROUTE` or
`GO OBJECTIVE` takes it straight back in, 70 to 80 frames a leg. `GO HEAL` (row 62, dealt on 1F
whenever the party is below full) is what brings a hurt fly back to that tile again and again,
but the leg that makes it a ring was older: `GO OUT`'s "a room has to be leavable" fallback. On
1F the exit is Route 4, ground the run has walked and not toward the rung, so the fallback dealt
it, one step from where the fly arrives. Which two rows were merged decided mostly where the
stub rotation stood when the fly arrived; the ring was there in all three. Swept over eight
rotation offsets the three-way tree crosses 24 to 44 times (three of eight over the bound).
- **A floor whose way on is a passage deals no `GO OUT` fallback** (`palette::ways`). While a
passage no ledger is resting leads toward the objective, the fly is on a floor of the road and
the way out is not the only way anywhere. It is `GO WARP`'s rule ("a floor that has its own
front door deals no staircase fallback") the other way round. The escape hatch is the blocked
window: a ladder no walk reaches rests, and the mouth is a way out again. A hurt party keeps its
way out under the button that says why, `GO HEAL`. Tiers one and two are untouched: a way out
into somewhere new, or toward the objective (an errand to the centre outside), is still dealt.
After: 2 to 7 crossings over the same eight offsets, all eight in the cave. The residual is
`GO HEAL` itself: a hurt fly on the mouth walks out toward the centre, and on Route 4 the pad has
the centre and the cave side by side. Both lead somewhere real, and which one is pressed is the
fly's (row 62's round-2 note on the same tug).
**The yard.** In the review's seed-7 survey `GO OUT` in the Cerulean badge house (`$e6`) took its
back door, (2, 0), onto Cerulean (9, 9): the door tile of a closed yard of 33 tiles whose only
way out is that door. The pad was empty from there to the end of the survey, 32,000 frames, with
`GO ROUTE` and `GO ITEM` refused `no route` whenever they came back. Reproduced with seed 99 on
the release tree, and saved there as a checkpoint. Four facts, each missing:
- **A door underfoot is the way out when nothing else of its kind can be walked to.** The exit
walks set a step-fired warp underfoot aside while any other exit is listed, reachable or not
(row 13's rule, for a fly that has just come down a staircase). Now they fall back on it after
every listed goal has failed the route search.
- **Where the tile in front is a warp carpet, the door is taken by a bump.** The back door's own
tile is no door tile, so it fires only through `ExtraWarpCheck`, and on the OVERWORLD tileset
that asks for a carpet tile in front (`data/tilesets/warp_carpet_tile_ids.asm`). Row 64's step
off and back on, sideways, was measured on the cartridge to do nothing here. The decoded grid
marks the carpets on the maps whose `ExtraWarpCheck` reads them, and a walk whose goal is a warp
underfoot presses toward one when it can (`CheckWarpsCollision`); a ladder is still stepped off.
- **Cerulean is two pieces.** Row 59's flood found the yard and left it off because the house was
not on the map graph. The house is on it now (both doors), and the yard is a piece of Cerulean
whose one neighbour is the house: from the house the road is the front door, so `GO OUT` no
longer takes the back one.
- **On a map in pieces, a way out on another piece is not a way out of here** (`path::exits`).
From the yard, every door and edge of the town was a candidate for the route search to refuse,
and each refusal rested that exit for the whole map: in a survey, the fly that got out stood
outside the front door with an empty pad for the rest of the window. A door no piece lists
(Cerulean Cave's mouth, the off-graph houses on Route 2) is not claimed either way. Route 4's
sides and Mt. Moon's chambers get the same rule.
From the yard checkpoint on the stub rotation, the base never leaves (an empty pad for 21,448 of
24,000 frames in a row); the branch is in the town on frame 266 and at the gym after. The route
survey from the same checkpoint, six seeds (1, 2, 3, 5, 7, 99) of 36,000 frames: all six leave
with no empty pad, and three win the Cascade Badge.
**And the guarantee reads where the fly stands** (the review's note on 12.28). A `Settle` on a way
out is `blocked` only while the fly is still on the tile it settled on: a warp that moves it on its
own map (the Saffron Gym's pads, Silph Co.'s) took it somewhere.
**Limit, named.** The frontier's exhausted mark (12.14) is per map. A fly in the yard that has
stood on all of it gets `GO FRONTIER` refused and the whole of Cerulean marked, for the session,
though the town's frontier is not exhausted. The yard is now reached only when the objective has
no route through the front door; a restart clears the mark.
Nothing ranks a button or presses for the fly: a fallback is withheld where a passage leads on,
a door is taken the way the cartridge takes it, and the map graph says what the ground says. The
decoder, the reward catalog, the adapter version, the roles and the compatibility string are
untouched.
## 13. Shops and Pokémon Centers (the operator, 2026-09-17: "refactor the shop macros. make it a
## priority to visit the shop at least once per area; make shop macros item purchases. same
## for the Pokécenter. heal should be a macro.")

View file

@ -3294,3 +3294,79 @@ them. A repetition budget keyed on the fly's own starts was considered and not b
about the choice, not knowledge in a macro, and it would turn a ring into a wait or a wander
without adding the missing fact. Those rings stay guarded outside the fly: the watchdog, the
recovery ladder, and the ROM road tests.
## 2026-09-29, row 65: the release merge's Mt. Moon door ring, and the Cerulean badge house's yard
### What was found
Not live: both came from the row-64 review, before v0.6.5 shipped (`docs/design/macros.md` 12.29).
- **The merge.** On the staging tree (rows 63, 62 and 64 merged), row 59's ROM test
`the_fly_goes_into_mt_moon_from_the_live_route_4_checkpoint` crossed Route 4's west doors 34
times against a bound of 25. Any two of the three rows pass (3 to 18).
- **The yard.** The row-64 route survey, seed 7: `GO OUT` in the Cerulean badge house took its back
door onto Cerulean (9, 9). That is the door tile of a closed yard of 33 tiles. The pad stayed empty
from f40,753 to the end of the run, about 32,000 frames.
### Reproduction
- Row 59's test on the staging tree, traced: arrive on 1F's mouth (14, 35), `GO OUT` or `GO HEAL`
out, arrive on Route 4 (18, 6), `GO ROUTE` or `GO OBJECTIVE` back in. Each leg takes 70 to 80
frames, and there were 17 round trips. `GO HEAL` walks a hurt fly back to the mouth from deep in
the cave. `GO OUT`'s tier-3 fallback deals the mouth itself, because on 1F Route 4 is visited and
not toward the rung. The test's stub rotation was swept over eight offsets on the staging tree:
24 to 44 crossings, three of the eight over the bound. The count depends on where the rotation
stands when the fly arrives, and that is why the pairs passed.
- The yard came back on the staging tree with seed 99 (`FLY_PROBE_CATCH=route FLY_PROBE_RNG=99`
from `FLY_ROW64_CHECKPOINT`). It was saved at f31178, when the fly stood on the door, as
`survey-rank15-row65-yard.checkpoint` (`FLY_ROW65_YARD_CHECKPOINT`, not committed). The
per-frame trace of an underfoot fallback that used row 64's step-off shows the fly stepping
left and back right onto (9, 9). No warp fires, because the tile is no door tile and a sideways
step has no carpet in front.
| # | trap | trigger | test | fix, or why it is left |
| --- | --- | --- | --- | --- |
| 65 | `GO OUT`'s "a room has to be leavable" fallback deals the way back out of a cave floor whose road on is a ladder, one step from the arrival tile. Route 4's side walks straight back in | Mt. Moon 1F's mouth. `GO HEAL` (row 62) brings a hurt fly back to it | `a_floor_whose_way_on_is_a_passage_deals_no_go_out_back_the_way_it_came`, row 59's ROM test on the merged tree | **fixed**: no tier-3 `GO OUT` while an unrested passage leads toward the objective |
| 65b | the exit walks set a step-fired door underfoot aside while any other exit is listed, reachable or not | a closed yard whose one door the fly stands on | `a_door_underfoot_is_taken_when_no_other_way_out_can_be_walked_to`, `row65_the_fly_leaves_the_cerulean_badge_houses_back_yard` | **fixed**: fall back on it once every listed goal has failed the route search |
| 65c | a warp whose own tile is no door fires only through `ExtraWarpCheck`. On the OVERWORLD tileset that needs a warp carpet in front, so row 64's sideways step-off does nothing | the badge house's back door | `a_door_underfoot_that_fires_on_a_bump_is_bumped_and_not_stepped_off`, `a_warp_carpet_in_front_is_marked_where_extra_warp_check_reads_it` | **fixed**: the grid marks carpets on the maps whose check reads them. A walk takes a warp underfoot by bumping toward one when it can |
| 65d | Cerulean was one node while its ground is two pieces. The badge house was off the graph, so its two doors were one door to `GO OUT`, the nearest | the house entered by either door | `cerulean_is_a_town_and_a_yard_and_the_badge_houses_back_door_is_the_yards` | **fixed**: the house on `LINKS`, and the yard as a `SPLIT` piece |
| 65e | on a split map, the other pieces' doors and edges are candidates. Each `no route` refusal from the small piece rests that exit for the whole map | out of the yard, the town's exits resting: an empty pad outside the front door for the rest of the window (survey, seed 3) | `a_way_out_on_another_piece_of_a_split_map_is_not_a_way_out_of_this_one` | **fixed**: `path::exits` keeps the fly's own piece. A door no piece lists is not claimed |
| 65f | the 12.28 guarantee read the tile the walk settled on, so a same-map teleport would read as a way out that did not fire | the Saffron Gym's pads, Silph Co. (not reached) | `a_same_map_teleport_is_somewhere_the_way_out_took_the_fly` | **fixed**: `blocked` only while the fly still stands where it settled |
| 65g | the frontier's exhausted mark is per map, so a fly that has covered the yard marks all of Cerulean | the yard, after the fly has stood on all of it | -- | **left, named**: the yard is now reached only when the objective has no route through the front door, and a restart clears the mark |
| 65h | a hurt fly on 1F's mouth has `GO HEAL` out, and on Route 4 has `GO HEAL` and the cave side by side | row 62's service while the party is below full | -- | **left, the fly's**: both lead somewhere real (row 62 round 2, the same tug) |
### Before and after
Row 59's ROM test on the stub rotation, over eight rotation offsets (0, 5, 11, 17, 23, 29, 37, 41):
| tree | crossings | pass |
| --- | --- | --- |
| staging `release/v0.6.5` `19d295d` | 34 28 24 24 44 24 24 24 | 5 of 8 |
| row 65, road rule off (piece filter on) | 10 19 19 23 21 25 19 27 | 6 of 8 |
| row 65, piece filter off (road rule on) | 4 4 18 13 6 4 8 8 | 8 of 8 |
| row 65 | 2 4 4 4 4 4 7 5 | 8 of 8 |
At offset 0, which is the test as it ships, the result is 34 before and 2 after. Every run reached
Mt. Moon.
The same checkpoint on the uniform route survey (72,000 frames, seeds 7, 11, 12345, 99) gives base
20, 8, 19, 20 against branch 14, 16, 5, 6. The branch's remaining crossings are row 65h.
`row65_the_fly_leaves_the_cerulean_badge_houses_back_yard` (`FLY_ROW65_YARD_CHECKPOINT`, 24,000
frames, stub rotation):
- staging: never leaves the yard, with an empty pad for 21,448 frames running. **Fails.**
- branch: in the town at f266, then the gym, Pallet after a whiteout and on. The pad is never empty
in the yard. **Passes.**
Each of 65b through 65e alone lets this rotation out of the yard, so the ROM test does not separate
them; the unit mutants do. The route survey from the yard checkpoint (six seeds, 36,000 frames)
gives these results:
- **staging**: every seed is back on the door by f2,560, through the house and out of its back door
again, with an empty pad from there to the end of the run.
- **65b and 65c, no split**: a house-and-yard door ring, `GO ROUTE` bumping in and `GO OUT` taking
the back door out, hundreds of times.
- **65b to 65d**: out, but seed 3 then stands outside the front door with an empty pad for the rest
of the window (65e).
- **branch**: all six leave with no empty pad, and three win the Cascade Badge.