Prev: 40192 Up: Map Next: 40260
40247: 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 40247 PUSH AF Fetch the location ID for the object held by Pointer_CurrentCharacter.
40248 LD IX,(46860)
40252 LD A,(IX+16)
40255 CALL LocateLocation Call LocateLocation to locate location.
40258 POP AF Restore AF from the stack.
40259 RET Return.
View the equivalent code in;
Prev: 40192 Up: Map Next: 40260