![]() |
Routines |
Prev: 31108 | Up: Map | Next: 31130 |
H | Character number (152-169) |
31110 | LD L,110 | Zero out bytes 109 and 110 of the character's buffer, which normally hold the address of the next character in the submessage being spoken (when a character starts speaking, there is no submessage) |
31112 | XOR A | |
31113 | LD (HL),A | |
31114 | DEC L | |
31115 | LD (HL),A | |
This entry point is used while the character is waiting for someone else to stop speaking.
|
||
31116 | CALL 29518 | Make the character start speaking if possible |
31119 | JP C,25252 | Remove the address of this routine from bytes 105 and 106 of the character's buffer if he's off-screen |
31122 | LD L,105 | Set the routine address in bytes 105 and 106 of the character's buffer to the entry point at 31116 |
31124 | LD (HL),140 | |
31126 | RET NZ | Return if somebody else is speaking at the moment |
Now it's this character's turn to speak.
|
||
31127 | LD (HL),154 | Set the routine address in bytes 105 and 106 of the character's buffer to 31130 |
31129 | RET |
Prev: 31108 | Up: Map | Next: 31130 |