Prev: 44034 Up: Map Next: 44205
44186: Get Room Pointer
Used by the routines at Handler_RoomExits and 63709.
Output
HL Pointer to the room data
GetRoomPointer 44186 LD A,(42947) Load the *CurrentRoom into DE.
44189 LD E,A
44190 LD D,0
44192 LD H,D Copy it into HL.
44193 LD L,E
44194 ADD HL,DE Mulitply by 6.
44195 ADD HL,DE
44196 ADD HL,DE
44197 ADD HL,DE
44198 ADD HL,DE
44199 LD DE,(42954) Add the result to the base address *Pointer_RoomMap, stored in HL.
44203 ADD HL,DE
44204 RET Return.
Prev: 44034 Up: Map Next: 44205