Prev: 54021 Up: Map Next: 54089
54076: Fetch Current Character Location
Reads the room of the character on screen and points at that room's data.
Output
IX Pointer to location data
FetchCurrentCharacterLocation 54076 PUSH AF Read the current character record, keeping character.
54077 LD IX,(40983)
54081 LD A,(IX+15) Read the character attribute and call FetchLocationDataPointer to fetch location data pointer.
54084 CALL FetchLocationDataPointer
54087 POP AF
54088 RET Return.
View the equivalent code in;
Prev: 54021 Up: Map Next: 54089