![]() |
Routines |
Prev: 7576 | Up: Map |
|
||||||||||
758C | CALL $F6B0 | Is Sam standing next to a light switch or a window blind? | ||||||||
758F | JR Z,$75A0 | Jump if not | ||||||||
7591 | AND $1C | Is Sam standing next to a window blind? | ||||||||
7593 | JR Z,$75A0 | Jump if not | ||||||||
7595 | CP $08 | Set the zero flag if Sam is standing next to the right-hand window of a pair | ||||||||
7597 | LD A,$01 | Bit 0 set: right-hand window blind toggle | ||||||||
7599 | JR Z,$759D | Jump if Sam is standing next to the right-hand window of a pair | ||||||||
759B | LD A,$40 | Bit 6 set: left-hand window blind toggle | ||||||||
759D | CALL $F499 | Raise or lower the window blind | ||||||||
75A0 | JP $F304 | Raise Sam's arm and make a sound effect |
Prev: 7576 | Up: Map |