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. |
||
|---|---|---|
| .. | ||
| .cargo | ||
| crates | ||
| golden | ||
| tools | ||
| vendor/binjgb | ||
| Cargo.lock | ||
| Cargo.toml | ||
| flysim.toml.example | ||
| rust-toolchain.toml | ||