| Routines

62325: Control a character who is knocking on or opening a door (2)

Continues from the routine at 62278. Lowers the character's arm and then hands control over to the interruptible subcommand routine at 62339.
Input
H | Character number (215-229)
L | 16
62325 | LD (HL),20 | Initialise the counter in byte 16 of the character's buffer to 20; this determines how long a policeman will keep knocking before busting the door open
62327 | LD L,14 | Change the address of the interruptible subcommand routine in bytes 14 and 15 of the character's buffer to 62339
62329 | LD (HL),131
This entry point is used by the routines at 62278, 62339, 63118 and 63209 to make a character lower his arm.
62331 | CALL 59848 | Update the SRB for the character's current animatory state and location
62334 | AND 248 | A=character's base animatory state
62336 | JP 59861 | Update the character's animatory state and location and update the SRB