Prev: 30613 Up: Map Next: 30649
30626: Inglish: Walk The Grammar
Walks one step of the grammar, including groups in brackets. Reached through the jump table at JumpTable, dispatched from 30160.
InglishWalkTheGrammar 30626 CALL Inglish_CountAnotherGrammarTry Call Inglish_CountAnotherGrammarTry to count another grammar try.
InglishWalkTheGrammar_Loop 30629 CALL Inglish_ReadTheNextGrammarByte Call Inglish_ReadTheNextGrammarByte to read the next grammar byte.
30632 CP 112 Jump back to InglishWalkTheGrammar if the grammar byte is 112.
30634 JR Z,InglishWalkTheGrammar
30636 CP 128 Jump to Inglish_KeepTheUnknownWord unless the grammar byte is 128.
30638 JR NZ,Inglish_KeepTheUnknownWord
30640 BIT 4,E Call Inglish_AskWhat if bit 4 of the grammar flag is clear.
30642 CALL Z,Inglish_AskWhat
30645 RES 4,E Clear the flags so bit 4 is off.
30647 JR InglishWalkTheGrammar_Loop Jump back to InglishWalkTheGrammar_Loop to run the grammar.
Prev: 30613 Up: Map Next: 30649