flybrain/services/flysim/crates/flybrain-gb/src/pokemon_red
acamilo 83e842aee2 macros: a way out that does not take the fly anywhere is not done
The general half of row 64: section 12.2's rule ("a macro that completes
without moving because its precondition is already satisfied is a trap")
held by the executor for every way out, instead of by each macro.

A way out's promise is another map. A Settle arrival on an exit key that
leaves the fly on the same map now ends Blocked, so the exit rests in the
blocked ledger for the window. When the fly never left the tile it pressed
from, row 57's refused-from-here ledger also keeps that button off this
tile for the window, because the last resort ignores the blocked ledger
and would otherwise re-deal the same dead exit once per hold. Nothing is
pressed, ranked or chosen: two ledgers that already exist get one more
honest writer. A pad with nothing left that can run is empty and waits.

On base with only this commit, from the live row-64 checkpoint (72k
frames, GO OBJECTIVE/GO WARP preferred): GO OBJECTIVE done in place 1,500
-> 0; the fly leaves the ladder tile and moves on (still not to Cerulean,
which needs the ledge knowledge). The test fixture's settle now drains the
refused ledger after every finish, as PokemonPalette::record_talk does.
2026-09-28 23:38:06 +00:00
..
macros macros: a way out that does not take the fly anywhere is not done 2026-09-28 23:38:06 +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