Routines |
Prev: F6E9 | Up: Map | Next: F748 |
|
||||||||
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 |