Prev: 27406 Up: Map Next: 27451
27442: Send a character on a mini-walkabout
The address of this primary command routine is placed into bytes 99 and 100 of a character's buffer by the routine at 27453. It either sends the character to his next walkabout destination (the walkabout origin or some spot within 7 spaces to the left of it), or moves to the next command in the command list if the designated number of walkabouts has been completed.
Input
H Character number (152-169)
27442 LD L,103 Decrement the walkabouts counter in byte 103 of the character's buffer
27444 DEC (HL)
27445 JP Z,25256 Move to the next command in the command list if all the walkabouts have been done
27448 JP 25317 Otherwise go for another mini-walkabout
Prev: 27406 Up: Map Next: 27451