Dun Darach | Routines |
Prev: 9641 | Up: Map |
Used by the routine at Bg_CalcAndDraw.
|
|||||||
The background index table holds values to easily tell which column holds which special items.
Special items are things you can interact with.
The Offscreen pointer holds the current column on the offscreen (top row) for which to store for. The table column will be matched.
|
|||||||
BgTable_Store | 9674 | LD A,(Draw_RoomObjectBmpIndex) | |||||
Store value of A into table.
|
|||||||
BgTable_StoreA | 9677 | LD HL,(Ptr_Offscreen) | Table is offset just before the offscreen. | ||||
967A | LD DE,$0022 | ||||||
967D | AND A | ||||||
967E | SBC HL,DE | ||||||
9680 | OR (HL) | ||||||
9681 | LD (HL),A | ||||||
9682 | JP Bg_BlitItemColumn |
Prev: 9641 | Up: Map |