Prev: 71DD Up: Map Next: 7222
720A: Vertical and horizontal ranges within which Sam can be spotted by a policeman
Used by the routine at 7222. This data table consists of eight entries of three bytes each. The exact entry used depends on Sam's and the policeman's locations, and whether Sam's disguise is known to the police. A policeman will be able to spot Sam if the vertical distance between them is no greater than the first byte, the horizontal distance between them is no greater than the second byte, and the sum of the horizontal and vertical distances between them is no greater than the third byte.
One of the first two entries is used when Sam is neither visible to passers-by (according to the routine at 70D6) nor standing next to a light switch in the 'on' position, and the policeman is not visible to passers-by.
720A DEFB $01,$07,$07 This entry is used when Sam's disguise is unknown to the police
720D DEFB $03,$0E,$0E This entry is used when Sam's disguise is known to the police
One of the next two entries is used when Sam is neither visible to passers-by nor standing next to a light switch in the 'on' position, and the policeman is visible to passers-by.
7210 DEFB $02,$02,$02 This entry is used when Sam's disguise is unknown to the police
7213 DEFB $03,$09,$09 This entry is used when Sam's disguise is known to the police
One of the next two entries is used when Sam is standing next to a light switch in the 'on' position.
7216 DEFB $04,$0C,$0C This entry is used when Sam's disguise is unknown to the police
7219 DEFB $04,$14,$14 This entry is used when Sam's disguise is known to the police
One of the next two entries is used when either (a) Sam is visible to passers-by, or (b) Sam is standing next to a light switch in the 'on' position and the policeman is visible to passers-by.
721C DEFB $09,$09,$09 This entry is used when Sam's disguise is unknown to the police
721F DEFB $20,$18,$20 This entry is used when Sam's disguise is known to the police
Prev: 71DD Up: Map Next: 7222