![]() |
Routines |
| Prev: C42F | Up: Map | Next: C486 |
|
Used by the routine at GameLoop.
Jump to the handler for the first vocabulary token, or admit the verb is unknown.
|
||||
| Handler_MatchVerb | C463 | LD HL,($BAF6) | Jump to VerbMatched if the search found a match. | |
| C466 | LD BC,($BAFC) | |||
| C46A | LD A,($BB36) | |||
| C46D | CPIR | |||
| C46F | JR Z,VerbMatched | |||
| C471 | LD HL,$BB61 | Print "I don't understand.". | ||
| C474 | CALL PrintStringAndNewline | |||
| C477 | RET | Return. | ||
| VerbMatched | C478 | LD A,($BAFC) | Call GetTableEntry to look up the verb's handler. | |
| C47B | SUB C | |||
| C47C | DEC A | |||
| C47D | LD E,A | |||
| C47E | LD IX,($BAF0) | |||
| C482 | CALL GetTableEntry | |||
| C485 | JP (HL) | Jump to that handler. | ||
|
View the equivalent code in;
|
||||
| Prev: C42F | Up: Map | Next: C486 |