The current workflow is extraction of original assets, assembly, tables and metadata, followed by direct semantic C# adaptation. The extractor does not need a transpiler for these ports. The existing bounded Creeper generator remains a previous milestone; it was not expanded for the following actors.
Source is X1 USA SHA-1 449A00631208FBCC8D58209E66D0D488674B7FB1.
x1-direct-ai-source.json records source spans and
SHA256 values. Historical disassembly labels are navigation aids; the pinned
ROM bytes determine the actual tables and offsets.
MadPeckerControl directly adapts $82:A84F..A934; actor initialization follows
$82:A808..A84E, proximity follows $82:A951..A988, and parent destruction
releases a retained child as in $82:A935..A949.
$86:CB4A..CB59: five zeroes, five ones and six twos.Animation selectors 0/1 use $AF:B90F and original duration/flags/frame scripts.
The child uses the previously ported Creeper procedures and original subtype speeds.
The parent/child setup avoids mutable Entity init parameters: those parameters are
reapplied after OnSpawn and would otherwise restore the child’s held position or
undo the parent’s initialization shift.
The native population test is retained as AI behavior. Allocation uses engine capacity rather than emulating the original 15-slot physical actor pool. Engine culling and removal order still require original-runtime comparison.
MetalWingControl directly adapts $83:DC27..DCD2. Initialization starts the
native horizontal speed at $0480 (4.5 pixels/tick) and uses animation 2.
The actor flies right and does not emit the former generic horizontal shots.
(draw & 0x7E) + 60. A subtype with bit 7 set instead uses 1 without a draw.$0200 selects acceleration.$40 (0.25 pixel/tick) to speed and follows original animation
flags. After the animation transition it clamps speeds above $0680 to 6.5,
after applying that tick’s displacement.$AF:C9D3.The native player-status activation gate, same-type spawning cap, falling death stage and debris are still pending. Normal engine damage/destruction is retained in this milestone. This is a live-flight adaptation, not a completed native port.
At the user’s request, behavioral tests, regression runs, save-state continuation
and BizHawk frame comparison are deferred. This milestone is checked by compilation
only. Earlier 1,655/55 test results belong to f176c02, before these adaptations.
The existing generic spawn test’s Mad Pecker setup was moved inside the native strict proximity window; its former 50-pixel separation becomes exactly 64 after native initialization. The updated test has not been run in this milestone. Further dedicated cases should cover holding/release order, allocation failure, global population, RNG call counts, parent death, subpixel braking/cap timing, activation gates and native death stages. No native parity percentage is certified.