| Routines

62264: Make a character knock on a door or open it with a key

Continues from the routine at 62976. Raises the character's arm and then hands control over to the interruptible subcommand routine at 62278.
Input
H | Character number (215-229)
62264 | LD L,14 | Set the address of the interruptible subcommand routine in bytes 14 and 15 of the character's buffer to 62278
62266 | LD (HL),70
This entry point is used by the routines at 62192, 62339 and 63209.
62268 | CALL 59848 | Update the SRB for the character's current animatory state and location
62271 | AND 248 | A=character's base animatory state
62273 | ADD A,4 | A=animatory state of the character with his arm up
62275 | JP 59861 | Update the character's animatory state and location and update the SRB