![]() |
Routines |
Prev: 7565 | Up: Map |
|
||||||||||
7576 | CALL $F436 | Is Sam standing next to a light switch? | ||||||||
7579 | JR Z,$7589 | Jump if not | ||||||||
757B | BIT 5,A | Does the light switch affect the light in only one window or window-pair? | ||||||||
757D | JR Z,$7584 | Jump if so | ||||||||
757F | CALL $F4A6 | Switch the lights on or off | ||||||||
7582 | JR $7587 | |||||||||
7584 | CALL $F497 | Switch the light on or off | ||||||||
7587 | LD H,$E6 | 0xE6=Sam | ||||||||
7589 | JP $F304 | Raise Sam's arm and make a sound effect |
Prev: 7565 | Up: Map |