Prev: D305 Up: Map Next: D349
D33C: 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 D33C PUSH AF Read the current character record, keeping character.
D33D LD IX,($A017)
D341 LD A,(IX+$0F) Read the character attribute and call FetchLocationDataPointer to fetch location data pointer.
D344 CALL FetchLocationDataPointer
D347 POP AF
D348 RET Return.
View the equivalent code in;
Prev: D305 Up: Map Next: D349