Prev: 9D00 Up: Map Next: 9D44
9D37: Get Object Location In IX
Used by the routines at LocationLit and ExitsPointAtTheExitList.
Points IX at the location of the object.
Output
IX The object location
GetObjectLocationInIX 9D37 PUSH AF Fetch the location ID for the object held by Pointer_CurrentCharacter.
9D38 LD IX,($B70C)
9D3C LD A,(IX+$10)
9D3F CALL LocateLocation Call LocateLocation to locate location.
9D42 POP AF Restore AF from the stack.
9D43 RET Return.
View the equivalent code in;
Prev: 9D00 Up: Map Next: 9D44