Prev: A07A Up: Map Next: A140
A11A: People : Get coordinate (Axis, Vector) for testing against paths.
Used by the routines at Action_a3d0 and _a53d.
Input
IX Person being handled.
A Direction.
Output
Person_GetCoordsForTesting A11A BIT 0,A
A11C JR Z,Person_GetCoordsForTesting_0
Direction E/W
A11E LD E,(IX+$07) Axis; Get E/W coord
A121 LD D,(IX+$08)
A124 LD C,(IX+$05) Vector; Get N/S coord
A127 LD B,(IX+$06)
A12A LD IX,(_5be8_PathNS) Get road (N/S map).
A12E RET
Direction N/S
Person_GetCoordsForTesting_0 A12F LD E,(IX+$05) Axis; Get N/S coord
A132 LD D,(IX+$06)
A135 LD C,(IX+$07) Vectir; Get E/W coord
A138 LD B,(IX+$08)
A13B LD IX,(_5be6_PathEW) Get road (E/W map).
A13F RET
Prev: A07A Up: Map Next: A140