← CB3C Logic records – the five inhabitants Map CBCC → Step-collision probe offsets
CB8C: Per-heading test-cell offset table
Tile-map offsets of the cells to test ahead of an object, and the replacement headings, per heading. $FF means no test at that slot.
Each entry is 8 bytes: the two cell offsets, then the replacement heading for the first cell only, the second cell only, and both. The rest of the entry is unread.
wall_avoid_steer CB8C DEFB $FF,$01,$00,$04,$04,$00,$00,$00 Up
CB94 DEFB $22,$01,$07,$03,$05,$00,$00,$00 Up-right
CB9C DEFB $22,$FF,$06,$00,$00,$00,$00,$00 Right
CBA4 DEFB $22,$41,$05,$01,$07,$00,$00,$00 Down-right
CBAC DEFB $FF,$41,$00,$00,$00,$00,$00,$00 Down
CBB4 DEFB $20,$41,$03,$07,$01,$00,$00,$00 Down-left
CBBC DEFB $20,$FF,$02,$00,$00,$00,$00,$00 Left
CBC4 DEFB $20,$01,$01,$05,$03,$00,$00,$00 Up-left
← CB3C Logic records – the five inhabitants Map CBCC → Step-collision probe offsets
Fork me on GitHub