| Routines

29354: Control a policeman (1)

Used by the command list at 64756. Makes the policeman begin patrol duty, and chase and pick up Sam when appropriate.
Input
H | 222 or 223 (policeman)
29354 | LD L,8 | Change the address of the primary command routine in bytes 8 and 9 of the policeman's buffer to 29361
29356 | LD (HL),177
29358 | JP 29536 | Send the policeman to a randomly chosen spot on the sidewalk or road