Prev: 9CE8 Up: Map Next: 9D44
9D37: Get Object Location In IX
Used by the routines at LocationLit and 9E95.
Output
IX The object location
GetObjectLocationInIX 9D37 PUSH AF Stash AF on the stack.
9D38 LD IX,($B70C) Fetch the location ID for the object held by ptrCurObject.
9D3C LD A,(IX+$10)
9D3F CALL LocateLocation Call LocateLocation.
9D42 POP AF Restore AF off the stack.
9D43 RET Return.
Prev: 9CE8 Up: Map Next: 9D44