Prev: C8A7 Up: Map Next: C8BE
C8AF: Get Object Mother ID
Used by the routines at ProcessDisplayAction and DD35.
Input
A Object ID
Output
A Mother object ID (or FF if none)
GetObjectMotherID C8AF CALL FetchObjectDataPointer Call FetchObjectDataPointer.
GetObjectMotherID_0 C8B2 LD A,(IX+$01) A=*IX+01.
C8B5 CP $FF Return if A is equal to FF.
C8B7 RET Z
C8B8 CALL TestObjectHasSpecialDescription Call TestObjectHasSpecialDescription.
C8BB RET NZ Return if A is not equal to FF.
C8BC JR GetObjectMotherID_0 Jump to GetObjectMotherID_0.
Prev: C8A7 Up: Map Next: C8BE