Prev: 51367 Up: Map Next: 51390
51375: Get Object Mother ID
Used by the routines at ProcessDisplayAction and 56629.
Input
A Object ID
Output
A Mother object ID (or 255 if none)
GetObjectMotherID 51375 CALL FetchObjectDataPointer Call FetchObjectDataPointer.
GetObjectMotherID_0 51378 LD A,(IX+1) A=*IX+1.
51381 CP 255 Return if A is equal to 255.
51383 RET Z
51384 CALL TestObjectHasSpecialDescription Call TestObjectHasSpecialDescription.
51387 RET NZ Return if A is not equal to 255.
51388 JR GetObjectMotherID_0 Jump to GetObjectMotherID_0.
Prev: 51367 Up: Map Next: 51390