Prev: 40168 Up: Map Next: 40260
40247: Get Object Location In IX
Used by the routines at LocationLit and 40597.
Output
IX The object location
GetObjectLocationInIX 40247 PUSH AF Stash AF on the stack.
40248 LD IX,(46860) Fetch the location ID for the object held by ptrCurObject.
40252 LD A,(IX+16)
40255 CALL LocateLocation Call LocateLocation.
40258 POP AF Restore AF off the stack.
40259 RET Return.
Prev: 40168 Up: Map Next: 40260