![]() |
Routines |
| Prev: 27090 | Up: Map | Next: 27125 |
|
Used by command lists 182, 190, 192, 194, 196, 208, 210, 212, 216 and 220 to make a character go to a place at random (selected from the table at 27082).
|
||||||
| 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 | |||||
|
This entry point is used by the routine at 27246.
|
||||||
| 27115 | CALL 27090 | Set a random destination for the character | ||||
| 27118 | LD L,100 | Prepare the MSB of the primary command 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 | ||||
| Prev: 27090 | Up: Map | Next: 27125 |