quill | Routines |
Prev: 25592 | Up: Map | Next: 25672 |
Used by the routine at PROCESS_RESPONSE_TABLE.
|
||||
PROCESS_ENTRY_MATCH | 25640 | LD A,(HL) | A=verb from current process table entry | |
25641 | INC HL | Move to noun | ||
25642 | BIT 3,(IY+8) | Are we looking at response table? | ||
25646 | JR Z,EXECUTE_CONDACTS | If not, then entry matches whatever is entered? | ||
25648 | CP 255 | Is verb '_'? | ||
25650 | JR Z,EXECUTE_CONDACTS | If so, entry matches whatever is entered | ||
25652 | CP (IX+33) | Compare with verb entered | ||
25655 | JR NZ,NEXT_PROCESS_ENTRY | If it doesn't match, move to next process table entry | ||
25657 | LD A,(HL) | A=noun from current process table entry | ||
25658 | CP 255 | Does this entry match any noun? | ||
25660 | JR Z,EXECUTE_CONDACTS | If so, execute CondActs | ||
25662 | CP (IX+34) | Does this noun match the noun entered? | ||
25665 | JR Z,EXECUTE_CONDACTS | If so, execute CondActs | ||
NEXT_PROCESS_ENTRY | 25667 | INC HL | ||
25668 | INC HL | |||
25669 | INC HL | Move to next process table entry | ||
25670 | JR PROCESS_RESPONSE_ENTRY | Process next entty |
Prev: 25592 | Up: Map | Next: 25672 |