Prev: 26927 Up: Map Next: 26968
26959: Get Object Location
Used by the routines at IsObjectCarried, ActionLeave and ActionUse.
Return the location of the given object.
Input
A Object number
Output
A Location of the object
GetObjectLocation 26959 LD E,A Read where this object is.
26960 LD D,0
26962 LD HL,25003
26965 ADD HL,DE
26966 LD A,(HL)
26967 RET Return.
Prev: 26927 Up: Map Next: 26968