Prev: 9F28 Up: Map Next: 9F88
9F67: Handler: Room Images
Used by the routine at Handler_RoomExits.
Input
A Room image number
Handler_Images 9F67 PUSH IX Stash IX, HL, DE and BC on the stack.
9F69 PUSH HL
9F6A PUSH DE
9F6B PUSH BC
9F6C LD E,A Copy the room image number from A into E.
9F6D LD IX,($BBD5) IX=*Pointer_RoomImageOffsets.
9F71 CALL GetTableEntry Call GetTableEntry.
9F74 LD DE,($BBD5) HL+=*Pointer_RoomImageOffsets.
9F78 ADD HL,DE
9F79 PUSH HL Copy the room-image address from HL into IX (using the stack).
9F7A POP IX
9F7C CALL Print_RoomImage Call Print_RoomImage.
9F7F CALL GetUserInput Call GetUserInput.
Restore the registers saved on entry to the routine and return.
9F82 POP BC Restore BC, DE, HL and IX from the stack.
9F83 POP DE
9F84 POP HL
9F85 POP IX
9F87 RET Return.
Prev: 9F28 Up: Map Next: 9F88