Routines
| Prev: B4C1 | Up: Map | Next: B517 |
B4FD: Next thing or room the direct-object slot names, skipping those $B517 rejects
|
||||||||||||||
| B4FD | LD HL,$B172 | Point HL at $B172 in "Parser variables" - Next thing or room named by the direct-object slot ($B172, via B4A0) | ||||||||||||
| B500 | CALL $B4A0 | Call the routine "Call the search routine in IY" (B4A0) | ||||||||||||
| B503 | CP $FF | Compare A with $FF - None left ($FF): return Z | ||||||||||||
| B505 | RET Z | If A equals $FF, return | ||||||||||||
| B506 | LD ($A034),A | It becomes the direct object ($A034) | ||||||||||||
| B509 | CALL $B517 | Call the routine "ALL BUT: is the candidate one of the things after BUT?" (B517) - Does the verb's check reject it? (B517) Then try the next | ||||||||||||
| B50C | JR NZ,$B4FD | If the zero flag is clear, go back to the routine "Next thing or room the direct-object slot names,..." (B4FD) | ||||||||||||
| B50E | LD A,($A034) | Read $A034 in "Game variables" into A - Accepted: A = it, and B16D bit 1 notes that something was found | ||||||||||||
| B511 | LD HL,$B16D | Point HL at "Parser variables" (B16D) | ||||||||||||
| B514 | SET 1,(HL) | Set bit 1 of the byte at "Parser variables" (B16D) | ||||||||||||
| B516 | RET | Return to the caller | ||||||||||||
| Prev: B4C1 | Up: Map | Next: B517 |