Prev: 42628 Up: Map Next: 42705
42683: Skip Text Token Based On Type
Used by the routines at ContinueAtTheNextToken and PrintRandomAlternative.
Skips a text token whose record flag says this token type is not printed.
Input
IX Pointer to text token
Output
IX Updated pointer (skips token data)
SkipTextTokenBasedOnType 42683 LD A,(IX+0) Jump ahead to SkipTextTokenBasedOnType_SkipPair if bit 7 of the record's flag byte is present.
42686 BIT 7,A
42688 JR NZ,SkipTextTokenBasedOnType_SkipPair
42690 CP 2 Go to SkipTextTokenBasedOnType_Next if it is 2.
42692 JR Z,SkipTextTokenBasedOnType_Next
42694 CP 11 Go to SkipTextTokenBasedOnType_0 if it is not 11.
42696 JR NZ,SkipTextTokenBasedOnType_0
SkipTextTokenBasedOnType_Next 42698 INC IX Step to the next byte of this text token.
SkipTextTokenBasedOnType_SkipPair 42700 INC IX Step to the next byte of this text token.
SkipTextTokenBasedOnType_0 42702 INC IX Step to the next byte of this text token.
42704 RET Return.
Prev: 42628 Up: Map Next: 42705