|  | Routines | 
| Prev: 29051 | Up: Map | Next: 29068 | 
| 
Used by the routine at 29361.
 
 | ||||||||
| 29052 | CALL 62518 | Is the policeman standing next to a light switch? | ||||||
| 29055 | RET Z | Return if not | ||||||
| 29056 | BIT 5,A | Set the zero flag if the light switch affects the light in only one window or window-pair | ||||||
| 29058 | LD A,(BC) | A=window flags for the policeman's location | ||||||
| 29059 | JP NZ,62627 | Jump if the light switch affects the light in more than one window or window-pair | ||||||
| 29062 | BIT 5,A | Is the light switch here in the 'on' position? | ||||||
| 29064 | RET Z | Return if so | ||||||
| 29065 | JP 62615 | Switch the light on | ||||||
| Prev: 29051 | Up: Map | Next: 29068 |