flybrain/services/flysim/crates/flybrain-gb/src/pokemon_red
acamilo e10f48e1c7 macros: a ledge is a hop the route search takes the one way the cartridge does
Row 64, the source of the Mt. Moon ring. Off the ladder, the road reaches
Route 4 east of the mountain, where Cerulean is three ledges down. The
collision list calls a ledge tile a wall, so the route search had no road
from the cave's exit to Cerulean at all: GO OBJECTIVE refused no route, the
east edge rested in the blocked ledger, and the other walks took the fly
back into the cave, onto B1F's exit (27, 3) or down B1F's ladder to B2F
(5, 7), where the ladder ring took over.

- The decoded grid marks LedgeTiles hops (data/tilesets/ledge_tiles.asm,
  OVERWORLD tileset only, the lower-left anchor tiles HandleLedges reads).
- The route search takes a hop from above as one press that lands two
  tiles on; from below a ledge stays a wall; the flood the map's pieces
  are measured with is unchanged.
- The walk holds while the cartridge carries the fly over (scene Unknown,
  scripted, on the hop's own line), so a hop it asked for is not written
  as a push-back.

ROM test from the live checkpoint (FLY_ROW64_CHECKPOINT): base stays on
(5, 7) with 167 done-in-place and never leaves B2F; branch takes the
ladder on the first GO OBJECTIVE, hops Route 4's ledges and reaches
Cerulean City at frame 1,972 with the pushed ledger empty.
2026-09-28 22:50:34 +00:00
..
macros macros: a ledge is a hop the route search takes the one way the cartridge does 2026-09-28 22:50:34 +00:00
mapgrid macros: a ledge is a hop the route search takes the one way the cartridge does 2026-09-28 22:50:34 +00:00
scene a battle decided is the cartridge's 2026-09-23 11:26:49 +00:00
state state, tests: the challenge covers the "!" bubble too, the doc block back above its impl, and the ROM test asserts no pad inside a challenge 2026-09-23 23:47:36 +00:00
catalog.rs rewards: talk and item, boundary indoors pays nothing, adapter v7 with a v6 migration 2026-09-23 14:34:10 +00:00
engage.rs docs: a map script's text can pay talk when it names the thing in front, and where it can 2026-09-23 17:22:11 +00:00
fake_wram.rs state: the move table, and whether the battle engine will answer a move with nothing 2026-09-23 17:23:05 +00:00
mapgrid.rs macros: a ledge is a hop the route search takes the one way the cartridge does 2026-09-28 22:50:34 +00:00
maps.rs geography: the Pewter museum is two rows on the map graph 2026-09-22 12:43:52 +00:00
mod.rs rewards: talk and item, boundary indoors pays nothing, adapter v7 with a v6 migration 2026-09-23 14:34:10 +00:00
scene.rs a battle decided is the cartridge's 2026-09-23 11:26:49 +00:00
state.rs state, tests: the challenge covers the "!" bubble too, the doc block back above its impl, and the ROM test asserts no pad inside a challenge 2026-09-23 23:47:36 +00:00
symbols.rs symbols: the stat stages and the enemy's status, type and stats, resolved from wram.asm 2026-09-23 17:23:05 +00:00
tests.rs rewards: read the conversation's argument once the cartridge has written it, and a ROM test 2026-09-23 14:34:10 +00:00