Prev: A846 Up: Map Next: A982
A854: Colour and shape of each room
Two bytes per room, indexed by room number: the first is the attribute the whole play area is filled with, the second is an index into ROOM_SHAPES. The table has 151 entries: the 149 rooms, then entry $95, black, and entry $96, the shape TRAPDOOR_FALL draws. With 149 rooms sharing thirteen outlines, this is most of what makes the castle fit in memory.
ROOM_TABLE A854 DEFB $42,$00,$43,$02,$44,$03,$45,$02
A85C DEFB $46,$04,$47,$02,$46,$03,$45,$02
A864 DEFB $44,$04,$43,$00,$42,$03,$43,$03
A86C DEFB $44,$03,$45,$00,$46,$04,$47,$04
A874 DEFB $46,$04,$45,$04,$44,$04,$43,$00
A87C DEFB $42,$03,$43,$03,$44,$03,$45,$00
A884 DEFB $46,$04,$47,$03,$46,$05,$45,$00
A88C DEFB $44,$08,$43,$01,$42,$04,$43,$02
A894 DEFB $44,$03,$45,$02,$46,$04,$47,$02
A89C DEFB $46,$03,$45,$02,$44,$05,$43,$00
A8A4 DEFB $42,$04,$43,$00,$44,$03,$45,$00
A8AC DEFB $46,$04,$47,$00,$46,$03,$45,$05
A8B4 DEFB $44,$01,$43,$0A,$42,$0A,$43,$01
A8BC DEFB $44,$0A,$45,$01,$46,$09,$47,$09
A8C4 DEFB $46,$01,$45,$01,$44,$01,$43,$01
A8CC DEFB $42,$01,$43,$01,$44,$01,$45,$09
A8D4 DEFB $46,$01,$47,$01,$46,$0A,$45,$01
A8DC DEFB $44,$09,$43,$01,$42,$01,$43,$09
A8E4 DEFB $45,$01,$45,$0A,$46,$09,$47,$01
A8EC DEFB $46,$01,$45,$0A,$44,$01,$43,$09
A8F4 DEFB $42,$01,$43,$0A,$44,$09,$45,$01
A8FC DEFB $46,$01,$47,$01,$46,$00,$45,$00
A904 DEFB $44,$00,$43,$00,$42,$00,$47,$00
A90C DEFB $43,$00,$44,$00,$45,$00,$46,$00
A914 DEFB $47,$00,$46,$00,$45,$00,$44,$00
A91C DEFB $43,$00,$42,$00,$43,$00,$44,$00
A924 DEFB $45,$00,$46,$00,$47,$00,$46,$00
A92C DEFB $45,$00,$44,$00,$43,$00,$42,$04
A934 DEFB $43,$00,$44,$05,$45,$05,$46,$03
A93C DEFB $47,$01,$46,$00,$45,$00,$44,$03
A944 DEFB $43,$00,$42,$04,$43,$00,$44,$03
A94C DEFB $45,$00,$46,$04,$47,$00,$46,$00
A954 DEFB $45,$00,$44,$00,$43,$00,$42,$00
A95C DEFB $43,$00,$44,$00,$45,$00,$46,$00
A964 DEFB $47,$00,$46,$00,$45,$00,$44,$04
A96C DEFB $43,$04,$42,$04,$47,$0B,$43,$01
A974 DEFB $44,$01,$45,$01,$46,$01,$47,$01
A97C DEFB $46,$01,$00,$00,$00,$0C
Prev: A846 Up: Map Next: A982