Dun Darach
Routines
Prev:
ACDD
Up:
Map
Next:
ACFC
ACF1: Retrieves the bitmap index of an object.
Used by the routines at
Bg_DrawColumn
and
Obj_DrawOrClearByIndex
.
Input
A
object index
EXIT
HL Ptr array holding bitmap index.
Output
Obj_GetBmpIndex
ACF1
DEC A
ACF2
AND $7F
ACF4
LD L,A
ACF5
LD H,$00
ACF7
LD DE,
Obj_IndexArray
ACFA
ADD HL,DE
ACFB
RET
Prev:
ACDD
Up:
Map
Next:
ACFC