Prev: A854 Up: Map Next: A9D0
A982: Geometry of each room shape
Six bytes per shape: how far the player may walk from the centre horizontally and vertically, then a pointer to the shape's vertex table, then a pointer to its edge list. Shape $00 reads 56, 56, SHAPE_VERTI_00, SHAPE_EDGES_00.
A vertex table is two bytes per point, x then y; an edge list is the $FF-separated groups DRAW_OUTLINE walks.
ROOM_SHAPES A982 DEFB $38,$38,$DF,$A9,$EF,$A9,$28,$28
A98A DEFB $04,$AA,$78,$AA,$38,$38,$34,$AB
A992 DEFB $54,$AB,$38,$18,$7D,$AB,$EF,$A9
A99A DEFB $18,$38,$8D,$AB,$EF,$A9,$10,$30
A9A2 DEFB $4A,$AC,$E9,$AB,$10,$30,$9D,$AB
A9AA DEFB $E9,$AB,$30,$10,$96,$AC,$E9,$AB
A9B2 DEFB $30,$10,$E2,$AC,$E9,$AB,$30,$18
A9BA DEFB $D0,$BE,$7E,$BD,$18,$30,$54,$BE
A9C2 DEFB $7E,$BD,$38,$38,$D0,$A9,$D8,$A9
A9CA DEFB $38,$38,$A9,$97,$09,$98
Prev: A854 Up: Map Next: A9D0