Prev: 29149 Up: Map Next: 29218
29194: Vertical and horizontal ranges within which Sam can be spotted by a policeman
Used by the routine at 29218. 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 28886) nor standing next to a light switch in the 'on' position, and the policeman is not visible to passers-by.
29194 DEFB 1,7,7 This entry is used when Sam's disguise is unknown to the police
29197 DEFB 3,14,14 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.
29200 DEFB 2,2,2 This entry is used when Sam's disguise is unknown to the police
29203 DEFB 3,9,9 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.
29206 DEFB 4,12,12 This entry is used when Sam's disguise is unknown to the police
29209 DEFB 4,20,20 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.
29212 DEFB 9,9,9 This entry is used when Sam's disguise is unknown to the police
29215 DEFB 32,24,32 This entry is used when Sam's disguise is known to the police
Prev: 29149 Up: Map Next: 29218