Prev: F359 Up: Map Next: F383
F375: Control a character who is knocking on or opening a door (2)
Continues from the routine at F346. Lowers the character's arm and then hands control over to the interruptible subcommand routine at F383.
Input
H Character number (0xD7-0xE5)
L 0x10
F375 LD (HL),$14 Initialise the counter in byte 0x10 of the character's buffer to 0x14; this determines how long a policeman will keep knocking before busting the door open
F377 LD L,$0E Change the address of the interruptible subcommand routine in bytes 0x0E and 0x0F of the character's buffer to F383
F379 LD (HL),$83
This entry point is used by the routines at F346, F383, F68E and F6E9 to make a character lower his arm.
F37B CALL $E9C8 Update the SRB for the character's current animatory state and location
F37E AND $F8 A=character's base animatory state
F380 JP $E9D5 Update the character's animatory state and location and update the SRB
Prev: F359 Up: Map Next: F383