Routines
Prev:
62DB
Up:
Map
Next:
6332
6329: Make a gangster chase Sam
Used by the command lists at
FD16
,
FD30
,
FD4E
,
FD6E
and
FD86
. Makes a gangster start or continue chasing Sam (unless Sam is already being carried or is falling from the roof of a building).
Input
H
Gangster's character number (0xD7-0xE0)
Output
6329
LD A,($7FFC)
Collect Sam's status flags from
7FFC
632C
AND $81
Is Sam already being carried, or falling from the roof of a building?
632E
JP Z,
$7A82
Jump if not
6331
RET
Prev:
62DB
Up:
Map
Next:
6332