![]() |
Routines |
Prev: AB0A | Up: Map | Next: AB97 |
Used by the routines at GameEventsProcessor, Handler_DisplayRoomImage, Print_RoomDescription, Action_ExamineItem, ValidateObject, AFEB, B05E and E98E.
Retrieves an address from a table using a given index.
|
||||||||||||||||
GetTableEntry | AB88 | LD D,$00 | Multiply the given index by 02 and store the result in DE. | |||||||||||||
AB8A | SLA E | |||||||||||||||
AB8C | RL D | |||||||||||||||
AB8E | ADD IX,DE | Add DE to the base table address. | ||||||||||||||
AB90 | LD L,(IX+$00) | Fetch the relevant table address and store it in HL. | ||||||||||||||
AB93 | LD H,(IX+$01) | |||||||||||||||
AB96 | RET | Return. |
Prev: AB0A | Up: Map | Next: AB97 |