Prev: 54385 Up: Map Next: 54439
54421: Routine at D495
Used by the routines at 51606, 52162, 52265 and 53317.
Input
A Character ID
54421 CP 255 Return if the character is inactive (255).
54423 RET Z
54424 CALL FetchObjectDataPointer Call FetchObjectDataPointer.
54427 LD A,1 Is the character the "China Man"?
54429 CP (IX+0)
54432 LD A,255 A=255.
54434 RET NZ Return if the character isn't the "China Man".
54435 LD A,(IX+15) A=*IX+15.
54438 RET Return.
Prev: 54385 Up: Map Next: 54439