![]() |
Routines |
| Prev: 62720 | Up: Map | Next: 62892 |
|
Used by the unused routine at 62966 and the routine at 62976. If the character is standing next to a light switch, this routine makes him flip the switch off (if it's on and affects the lights in more than one window or window-pair), or consider flipping the switch off (if it's on and affects the lights in only one window or window-pair).
|
||||||||
| 62880 | CALL 62518 | Is the character standing next to a light switch? | ||||||
| 62883 | RET Z | Return if not | ||||||
| 62884 | BIT 5,A | Does the light switch affect the lights in more than one window or window pair? | ||||||
| 62886 | JP Z,62605 | If not, flip the light switch off 109 times out of 256 | ||||||
| 62889 | JP 62700 | Flip the light switch off | ||||||
| Prev: 62720 | Up: Map | Next: 62892 |