![]() |
Routines |
| H | Character number (152-169) |
| L | 122 |
| 27111 | LD A,(HL) | Reset bits 5 and 6 of byte 122 of the character's buffer, indicating that he should no longer walk fast or slow continuously (if he was doing so) |
| 27112 | AND 159 | |
| 27114 | LD (HL),A |
| 27115 | CALL 27090 | Set a random destination for the character |
| 27118 | LD L,100 | Prepare the MSB of the routine address in bytes 99 and 100 of the character's buffer; the LSB will be set to 209 soon (making the routine address 25553) |
| 27120 | LD (HL),99 | |
| 27122 | JP 25549 | Set the character on his way |