![]() |
Routines |
Prev: 30070 | Up: Map |
|
||||||||||
30092 | CALL 63152 | Is Sam standing next to a light switch or a window blind? | ||||||||
30095 | JR Z,30112 | Jump if not | ||||||||
30097 | AND 28 | Is Sam standing next to a window blind? | ||||||||
30099 | JR Z,30112 | Jump if not | ||||||||
30101 | CP 8 | Set the zero flag if Sam is standing next to the right-hand window of a pair | ||||||||
30103 | LD A,1 | Bit 0 set: right-hand window blind toggle | ||||||||
30105 | JR Z,30109 | Jump if Sam is standing next to the right-hand window of a pair | ||||||||
30107 | LD A,64 | Bit 6 set: left-hand window blind toggle | ||||||||
30109 | CALL 62617 | Raise or lower the window blind | ||||||||
30112 | JP 62212 | Raise Sam's arm and make a sound effect |
Prev: 30070 | Up: Map |