Routines |
Prev: F460 | Up: Map | Next: F483 |
|
||||||||
F46C | LD A,($7FF4) | 7FF4 holds the door/window status flags | ||||||
F46F | BIT 3,A | Is the boys' skool door closed? | ||||||
F471 | JP Z,$638C | Move to the next command in the command list if so | ||||||
F474 | BIT 5,A | Is the drinks cabinet door closed? | ||||||
F476 | JP Z,$F0B8 | Restart the command list if so | ||||||
F479 | LD L,$14 | Point HL at byte 0x14 of MISS TAKE's buffer | ||||||
F47B | LD (HL),$00 | Place 0x00 (close door) in byte 0x14, and 0x20 (bit 5 set: drinks cabinet door) in byte 0x13, ready for the routine at 70B7 | ||||||
F47D | DEC L | |||||||
F47E | LD (HL),$20 | |||||||
F480 | JP $70A8 | Close the drinks cabinet door |
Prev: F460 | Up: Map | Next: F483 |