Routines |
Prev: 7A39 | Up: Map | Next: 7A6A |
The address of this interruptible subcommand routine is placed into bytes 0x0E and 0x0F of a gangster's buffer by the primary command routine at 7A6A. It makes the gangster start or continue walking up or down a few paces unless he spots Sam, in which case the subcommand and current primary command are terminated.
|
||||||||
7A57 | CALL $F68E | Abort now if the gangster is midstride or has his arm up | ||||||
7A5A | CALL $739D | Is Sam nearby, and should the gangster go after him? | ||||||
7A5D | JP C,$F6F1 | Jump if not | ||||||
7A60 | LD L,$16 | Copy the command list offset (from the gangster's region definition table) into byte 0x16 of the gangster's buffer | ||||||
7A62 | LD (HL),A | |||||||
7A63 | LD L,$0F | Remove the address of this interruptible subcommand routine from bytes 0x0E and 0x0F of the gangster's buffer | ||||||
7A65 | LD (HL),$00 | |||||||
7A67 | JP $F280 | Terminate the current primary command, and move to the portion of the command list that deals with catching Sam |
Prev: 7A39 | Up: Map | Next: 7A6A |