![]() |
Routines |
H | Character number (152-169) |
29706 | CALL 28882 | Get the next character from the message being spoken |
29709 | AND A | Return with the carry flag set if the message has finished |
29710 | SCF | |
29711 | RET Z | |
29712 | CP 2 | Replace an ASCII code of 2 with 32 (space) |
29714 | JR Z,29727 | |
29716 | CP 3 | Jump unless the ASCII code is 3, which stands for 8 spaces |
29718 | JR NZ,29729 | |
29720 | LD L,108 | 55830='<8 spaces>'; place the address of this message in bytes 107 and 108 of the character's buffer |
29722 | LD (HL),218 | |
29724 | DEC L | |
29725 | LD (HL),22 | |
29727 | LD A,32 | 32=' ' (space) |
29729 | JP 29442 |