Prev: D5D3 Up: Map Next: D5FB
D5EF: Get Location Exit Data
Points at the exit list for the room, three bytes for each direction.
Input
A Room ID
Output
IX Pointer to exit data
BC Exit data length (3 bytes)
Fetch location data pointer.
GetLocationExitData D5EF CALL FetchLocationDataPointer Call FetchLocationDataPointer to look this room up.
D5F2 LD BC,$0006 Step to the next record.
D5F5 ADD IX,BC
D5F7 LD BC,$0003
D5FA RET Return.
View the equivalent code in;
Prev: D5D3 Up: Map Next: D5FB