Routines |
Prev: F7B1 | Up: Map | Next: F7CD |
|
||||||||
F7BF | PUSH HL | Save the character number briefly | ||||||
F7C0 | CALL $F32C | Open the door | ||||||
F7C3 | POP HL | Restore the character number to H | ||||||
F7C4 | LD L,$16 | Byte 0x16 of the character's buffer holds the offset of the point reached in the command list | ||||||
F7C6 | LD A,(HL) | Subtract 0x0E from this offset; this has the effect of sending the character back to the spot where he was walking up and down before answering the door | ||||||
F7C7 | SUB $0E | |||||||
F7C9 | LD (HL),A | |||||||
F7CA | JP $F280 | Terminate this primary command |
Prev: F7B1 | Up: Map | Next: F7CD |