Prev: A4AB Up: Map Next: A4CD
A4BC: 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 A4BC PUSH DE Call FetchObjectDataPointer to look up that object.
A4BD PUSH IX
A4BF CALL FetchObjectDataPointer
A4C2 PUSH IX Copy the record into the pointer and add 0007.
A4C4 POP HL
A4C5 LD DE,$0007
A4C8 ADD HL,DE
A4C9 POP IX Restore the saved character record and the saved source from the stack.
A4CB POP DE
A4CC RET Return.
View the equivalent code in;
Prev: A4AB Up: Map Next: A4CD