Routines |
Prev: F483 | Up: Map | Next: F49C |
Used by command list 0x4C. Saves ALBERT a trip to the skool gate or the skool door if it's already closed.
|
||||||||
F487 | LD DE,$7FF4 | 7FF4 holds the door/window status flags | ||||||
F48A | CALL $627D | Collect the next byte (the door identifier) from the command list | ||||||
F48D | EX DE,HL | |||||||
F48E | AND (HL) | Set the zero flag if this door is closed | ||||||
F48F | EX DE,HL | |||||||
F490 | JR NZ,$F499 | Jump if the specified door is open | ||||||
F492 | LD B,$0A | Move along 10 places in the command list | ||||||
F494 | CALL $627D | |||||||
F497 | DJNZ $F494 | |||||||
F499 | JP $638C | Move to the next command in the command list |
Prev: F483 | Up: Map | Next: F49C |