Prev: 42155 Up: Map Next: 42189
42172: Point To Object Attribute Byte
Points at the flag byte seven bytes into the object's record.
Input
A Object ID
Output
HL Pointer to the object attribute byte
PointToObjectAttributeByte 42172 PUSH DE Call FetchObjectDataPointer to look up that object.
42173 PUSH IX
42175 CALL FetchObjectDataPointer
42178 PUSH IX Copy the record into the pointer and add 0007.
42180 POP HL
42181 LD DE,7
42184 ADD HL,DE
42185 POP IX Restore the saved character record and the saved source from the stack.
42187 POP DE
42188 RET Return.
View the equivalent code in;
Prev: 42155 Up: Map Next: 42189