flybrain/services/flysim/crates/flybrain-gb/src/pokemon_red/macros
acamilo 895fb52cda macros: the tile a step is landing on is ground the run has covered
The other half of the same measurement. `wXCoord` and `wYCoord` are the tile the step began on
until the frame it ends, so the stood ledger recorded ground the fly had already left and the tile
under it stayed unstood: `path::frontier` kept offering it, `GO FRONTIER` was dealt aiming one tile
away, and `Arrival::Step` reported `done` the instant the step it did not make landed. A macro that
completes without changing anything, which is section 12.2's trap.

A step that has begun always finishes -- the cartridge owns the animation and no press stops it --
and the screen has already centred on the tile, so it is ground this run has covered. It clears the
map's frontier mark on the same rule the coordinates do: only ground never stood on before.
2026-09-22 14:57:34 +00:00
..
tests macros: plan every walk over the map grid 2026-09-22 03:32:35 +00:00
cartridge.rs macros: the tile a step is landing on is ground the run has covered 2026-09-22 14:57:34 +00:00
driver.rs macros: the tile a step is landing on is ground the run has covered 2026-09-22 14:57:34 +00:00
executor.rs macros: a frontier no walk can reach is a fact about the map, not a window 2026-09-22 12:48:09 +00:00
geography.rs ratchet: getting nearer the objective is progress the coverage figure cannot carry 2026-09-22 12:55:39 +00:00
mod.rs flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
palette.rs macros: a frontier no walk can reach is a fact about the map, not a window 2026-09-22 12:48:09 +00:00
path.rs macros: plan every walk over the map grid 2026-09-22 03:32:35 +00:00
plan.rs flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
state.rs Merge fix/loop-20260922T0459: NEXT never on a pad with an input-accepting cursor; MOVE 1 is the main menu backstop; the bag is the fly's turn 2026-09-22 06:18:34 +00:00
tests.rs tests: ROM-gated, the fly gets out of the museum and into the gym 2026-09-22 13:12:31 +00:00