Prev: A4AB Up: Map Next: A4CD
A4BC: Point To Object Attribute Byte
Used by the routines at A751, BA20, BF1C and CBC2.
Input
A Object ID
Output
HL Pointer to the object attribute byte
PointToObjectAttributeByte A4BC PUSH DE Stash DE and IX on the stack.
A4BD PUSH IX
A4BF CALL FetchObjectDataPointer Call FetchObjectDataPointer.
A4C2 PUSH IX HL=IX (using the stack).
A4C4 POP HL
A4C5 LD DE,$0007 HL+=0007.
A4C8 ADD HL,DE
A4C9 POP IX Restore IX and DE from the stack.
A4CB POP DE
A4CC RET Return.
Prev: A4AB Up: Map Next: A4CD