![]() |
Routines |
| Prev: 50223 | Up: Map | Next: 50310 |
|
Used by the routine at GameLoop.
Jump to the handler for the first vocabulary token, or admit the verb is unknown.
|
||||
| Handler_MatchVerb | 50275 | LD HL,(47862) | Jump to Handler_MatchVerb_Next if the search found a match. | |
| 50278 | LD BC,(47868) | |||
| 50282 | LD A,(47926) | |||
| 50285 | CPIR | |||
| 50287 | JR Z,Handler_MatchVerb_Next | |||
| 50289 | LD HL,47969 | Print "I don't understand.". | ||
| 50292 | CALL PrintStringAndANewline | |||
| 50295 | RET | Return. | ||
| Handler_MatchVerb_Next | 50296 | LD A,(47868) | Call GetTableEntry to look up the verb's handler. | |
| 50299 | SUB C | |||
| 50300 | DEC A | |||
| 50301 | LD E,A | |||
| 50302 | LD IX,(47856) | |||
| 50306 | CALL GetTableEntry | |||
| 50309 | JP (HL) | Jump to that handler. | ||
|
View the equivalent code in;
|
||||
| Prev: 50223 | Up: Map | Next: 50310 |