![]() |
Routines |
| Prev: 45939 | Up: Map | Next: 46080 |
|
Used by the routines at ProcessGameEvents, HandlerDisplayRoomImage, PrintRoomDescription, ActionExamineItem, ValidateObject and HandlerMatchVerb.
Look up one entry in a word table.
|
||||||||||||||||
| GetTableEntry | 46065 | LD D,0 | Double the entry index so it addresses a word in the table. | |||||||||||||
| 46067 | SLA E | |||||||||||||||
| 46069 | RL D | |||||||||||||||
| 46071 | ADD IX,DE | Step to the chosen entry in the word table. | ||||||||||||||
| 46073 | LD L,(IX+0) | Read the address stored in that entry. | ||||||||||||||
| 46076 | LD H,(IX+1) | |||||||||||||||
| 46079 | RET | Return. | ||||||||||||||
|
View the equivalent code in;
|
||||||||||||||||
| Prev: 45939 | Up: Map | Next: 46080 |