Prev: 7914 Up: Map Next: 793D
7924: Inglish: Ask What
Prints "what ?" and sets the action countdown when the clause still has a conjunction. It returns at once when that count is already zero.
Inglish_AskWhat 7924 CALL Inglish_TestTheConjunctionCount Call Inglish_TestTheConjunctionCount to test the conjunction count.
7927 RET NZ Return if a conjunction is still left, and otherwise drop the return address.
7928 POP HL
This entry point is used by the routines at InglishAcceptTheClause, InglishRestoreTheMatch and CommandDispatchAControl.
Inglish_AskWhat_0 7929 CALL Inglish_TestTheConjunctionCount Call Inglish_TestTheConjunctionCount to test the conjunction count.
792C JP NZ,InglishPrepareTheClause_3 Jump to InglishPrepareTheClause_3 if a conjunction is still left.
This entry point is used by the routines at TurnReadAndTokeniseTheCommand and InglishMatchOneWord.
Inglish_AskWhat_1 792F LD HL,$AD9F Point at the message "what ?[0x14]" (AD9F).
7932 LD A,$01 Write 01 (the countdown running) to *WaitCountdown.
7934 LD ($B701),A
7937 CALL PrintMessage Call PrintMessage to print message.
793A OR $01 Clear the zero flag.
793C RET Return.
Prev: 7914 Up: Map Next: 793D