![]() |
Routines |
| Prev: 30053 | Up: Map |
|
|||||||||
| 30070 | CALL 62518 | Is Sam standing next to a light switch? | |||||||
| 30073 | JR Z,30089 | Jump if not | |||||||
| 30075 | BIT 5,A | Does the light switch affect the light in only one window or window-pair? | |||||||
| 30077 | JR Z,30084 | Jump if so | |||||||
| 30079 | CALL 62630 | Switch the lights on or off | |||||||
| 30082 | JR 30087 | ||||||||
| 30084 | CALL 62615 | Switch the light on or off | |||||||
| 30087 | LD H,230 | 230=Sam | |||||||
| 30089 | JP 62212 | Raise Sam's arm and make a sound effect | |||||||
| Prev: 30053 | Up: Map |