![]() |
Routines |
| Prev: D305 | Up: Map | Next: D349 |
|
Used by the routines at ProcessLocationDisplay, CheckObjectVisibility, ReadCharacterRoom and FindObjectByField.
Reads the room of the character on screen and points at that room's 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 |