![]() |
Routines |
Prev: 7CD8 | Up: Map |
Used by the routine at 72B1. Returns with the police flags in A if Sam is neither falling from the roof of a building nor being carried by a gangster or policeman; otherwise returns with A=0.
|
||||||||
7CFE | LD A,($7FFC) | Collect Sam's status flags from 7FFC | ||||||
7D01 | AND $81 | Keep only bits 0 and 7 | ||||||
7D03 | LD A,($7FEB) | Collect the police flags from 7FEB | ||||||
7D06 | RET Z | Return unless Sam is being carried by a gangster or policeman, or is falling from a building | ||||||
7D07 | XOR A | A=0 | ||||||
7D08 | RET |
Prev: 7CD8 | Up: Map |