flybrain/services/flysim/crates
acamilo e006db3742 macros: a ball at low HP is the only attack, and the fly types its catch's name
Two operator decisions (2026-09-29, row 69).

Throw on low HP only: in a wild battle with THROW BALL dealt and the
wild Pokemon at the HP where ItemUseBall's HP factor saturates
(W = (MaxHP*255/BallFactor)/max(HP/4,1) >= 255: about a third for a
Poke Ball, a half for a Great Ball), MOVE 1-4, SWITCH, RUN and the bag's
BACK are withheld. ITEM stays for a hurt thrower. Every precondition of
THROW BALL still gates it, so no ball, a caught species or a trainer
gives the ordinary pad back.

Let the fly name it: the naming screen is read (menu bytes, the
keyboard's box, the underscores; wNamingScreenNameLength and
wNamingScreenSubmitName pinned from the cartridge's own stores) before
the battle test and reads Unknown. Its pad is the fly's own D-pad, A, B
and START, passed through Observed::raw while nothing is bound. Once
the name is full or sixty brain seconds have run, CONFIRM alone is
dealt and presses START until the keyboard closes.

Also moves two doc comments row 66 split from their items (review N3).
2026-09-29 18:07:15 +00:00
..
fly-edge fly-edge, flysim: a taken feed port is named as such; FLY_BUS_DIR must be absolute; worst case restated 2026-09-23 11:59:26 +00:00
fly-session session types: boundary actions and captures in the step trace, a capture never precedes a slot save 2026-09-23 09:00:11 +00:00
fly-session-types session types: the legacy composition names pokered-unique8-v7 2026-09-23 14:34:10 +00:00
flybrain-core flysim: every harness runs the legacy frame: the trap hunt, the benches, the ROM tests' and the probe's stub drivers 2026-09-23 20:15:20 +00:00
flybrain-gb 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
flybus docs: flybus.md amendments for the feed on the bus, its sizing and its store lifecycle 2026-09-23 11:41:28 +00:00
flysim 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