Routines
| Prev: D77E | Up: Map | Next: D7E0 |
D7D9: Player's turn: another sentence waiting? (RUN at $9937)
|
Addresses named in the title: 9937.
Its body just succeeds; the pre-check at D7E1 fails when the last sentence did not parse (and throws the rest of the line away) or when there is no sentence left. This record is one step of the loop in the player's own plan script at 9921: DO LOOK once, then read a line (D6BF), split it into words (D715), check there is a word (D769), parse a sentence (D77E), check there is a sentence (D7D9), turn it into a command (D7FA) and DO it. When you wear the china man's disguise the same script runs for him; the counts below include both.
|
||||||||
| D7D9 | DEFB $40,$00,$E1,$D7 | Action record header: flags $40; bit 6: pre-check at D7E1; byte 1 $00 | ||||||
| D7DD | OR $01 | Make A non-zero, which clears the zero flag, and hand that back to the caller | ||||||
| D7DF | RET | Return to the caller | ||||||
| Prev: D77E | Up: Map | Next: D7E0 |