![]() |
Routines |
| Prev: 29696 | Up: Map | Next: 29732 |
|
Used by the routine at 31130.
|
||||||||
| 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 into bytes 107 and 108 of the speaking character's buffer | ||||||
| 29722 | LD (HL),218 | |||||||
| 29724 | DEC L | |||||||
| 29725 | LD (HL),22 | |||||||
| 29727 | LD A,32 | 32=' ' (space) | ||||||
| 29729 | JP 29442 | |||||||
| Prev: 29696 | Up: Map | Next: 29732 |