![]() |
Routines |
Prev: 717B | Up: Map |
Used by the routine at 72B1.
|
||||||||||
717C | CALL $F436 | Is the policeman standing next to a light switch? | ||||||||
717F | RET Z | Return if not | ||||||||
7180 | BIT 5,A | Set the zero flag if the light switch affects the light in only one window or window-pair | ||||||||
7182 | LD A,(BC) | A=window flags for the policeman's location | ||||||||
7183 | JP NZ,$F4A3 | Jump if the light switch affects the light in more than one window or window-pair | ||||||||
7186 | BIT 5,A | Is the light switch here in the 'on' position? | ||||||||
7188 | RET Z | Return if so | ||||||||
7189 | JP $F497 | Switch the light on |
Prev: 717B | Up: Map |