![]() |
Routines |
Prev: 62560 | Up: Map | Next: 62595 |
|
||||
62572 | LD A,(32756) | 32756 holds the door/window status flags | ||
62575 | BIT 3,A | Is the boys' skool door closed? | ||
62577 | JP Z,25484 | Move to the next command in the command list if so | ||
62580 | BIT 5,A | Is the drinks cabinet door closed? | ||
62582 | JP Z,61624 | Restart the command list if so | ||
62585 | LD L,20 | Point HL at byte 20 of MISS TAKE's buffer | ||
62587 | LD (HL),0 | Place 0 (close door) in byte 20, and 32 (bit 5 set: drinks cabinet door) in byte 19, ready for the routine at 28855 | ||
62589 | DEC L | |||
62590 | LD (HL),32 | |||
62592 | JP 28840 | Close the drinks cabinet door |
Prev: 62560 | Up: Map | Next: 62595 |