Prev: 42155 Up: Map Next: 42189
42172: Point To Object Attribute Byte
Used by the routines at 42833, 47648, 48924 and 52162.
Input
A Object ID
Output
HL Pointer to the object attribute byte
PointToObjectAttributeByte 42172 PUSH DE Stash DE and IX on the stack.
42173 PUSH IX
42175 CALL FetchObjectDataPointer Call FetchObjectDataPointer.
42178 PUSH IX HL=IX (using the stack).
42180 POP HL
42181 LD DE,7 HL+=0007.
42184 ADD HL,DE
42185 POP IX Restore IX and DE from the stack.
42187 POP DE
42188 RET Return.
Prev: 42155 Up: Map Next: 42189