Prev: F6E9 Up: Map Next: F748
F731: Make a character drop Sam
Used by the command lists at FCF4, FD16, FD30, FD4E and FD6E. Makes the character drop Sam and stop running, and restarts the command list.
Input
H Character number (0xD7-0xE5)
F731 CALL $E9C8 Update the SRB for the character's current animatory state and location
F734 AND $F2 A=animatory state of the character in phase 1 or 3 of his walking animation
F736 CALL $E9D5 Update the character's animatory state and location and update the SRB
F739 LD A,(HL) A=character's animatory state
F73A AND $70 Keep only bits 4-6
F73C CP $10 0x10: Is this character a policeman?
F73E JR NZ,$F745 Jump if not
F740 LD A,$80 Set bit 7 at 7FEB: Sam is in jail
F742 LD ($7FEB),A
F745 JP $F686 Make the character stop running and restart the command list
Prev: F6E9 Up: Map Next: F748