flybrain/services/flysim/crates/flybrain-gb/src
acamilo 85d2da363a macros: the battle bag's cursor is the entry, not the window's row (row 71)
The battle bag is a DisplayListMenuID list: the arrow walks rows 0..2 and
the window scrolls under it. state::battle reported wCurrentMenuItem alone
as the bag cursor, so THROW BALL and ITEM could never reach a bag entry
past the third. Live on rung 15 a wild Oddish sat at low HP with the
Poke Ball fifth in the bag; row 69 left THROW BALL alone on the pad and
every start blocked.

The cursor is now wCurrentMenuItem + wListScrollOffset, the sum the
cartridge makes on A. wListScrollOffset ($CC36) is pinned from the operand
of DisplayListMenuIDLoop's read and checked by a ROM test. The ROM test
from the live trap checkpoint (FLY_ROW71_CHECKPOINT) blocks on main and
throws and catches on this branch.
2026-10-01 12:57:03 +00:00
..
platformer flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
pokemon_red macros: the battle bag's cursor is the entry, not the window's row (row 71) 2026-10-01 12:57:03 +00:00
adapter.rs rewards: damage, adapter v8 with a v7 migration 2026-09-30 02:11:45 +00:00
compatibility.rs rewards: damage, adapter v8 with a v7 migration 2026-09-30 02:11:45 +00:00
emulator.rs flybrain-gb: the boundary memory image (MEM-01) 2026-09-29 15:54:57 +00:00
ffi.rs flybrain-gb: the boundary memory image (MEM-01) 2026-09-29 15:54:57 +00:00
image.rs flybrain-gb: the boundary memory image (MEM-01) 2026-09-29 15:54:57 +00:00
lib.rs flybrain-gb: the boundary memory image (MEM-01) 2026-09-29 15:54:57 +00:00
macros.rs macros: a ball at low HP is the only attack, and the fly types its catch's name 2026-09-29 18:07:15 +00:00
ordered.rs flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
ratchet.rs traps: rows 51 to 53, the museum's missing rows and a BACK with no box under it 2026-09-22 13:14:47 +00:00
recovery.rs flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00