![]() |
Routines |
Prev: 43786 | Up: Map | Next: 43927 |
Used by the routines at GameEventsProcessor, Handler_DisplayRoomImage, Print_RoomDescription, Action_ExamineItem, ValidateObject, 45035, 45150 and 59790.
Retrieves an address from a table using a given index.
|
||||||||||||||||
GetTableEntry | 43912 | LD D,0 | Multiply the given index by 2 and store the result in DE. | |||||||||||||
43914 | SLA E | |||||||||||||||
43916 | RL D | |||||||||||||||
43918 | ADD IX,DE | Add DE to the base table address. | ||||||||||||||
43920 | LD L,(IX+0) | Fetch the relevant table address and store it in HL. | ||||||||||||||
43923 | LD H,(IX+1) | |||||||||||||||
43926 | RET | Return. |
Prev: 43786 | Up: Map | Next: 43927 |