Prev: 7964 Up: Map Next: 7973
7966: Control a female character while she's standing on a chair or jumping (1)
The address of this uninterruptible subcommand routine is placed into bytes 0x11 and 0x12 of a female character's buffer by the routine at 7974. It deals with a female character while she is either standing on a chair or jumping up and down (to evade a mouse).
Input
H Character number (0xB7-0xBD, 0xCC or 0xD1)
7966 LD L,$13 Byte 0x13 of the character's buffer holds a counter determining how much longer she will continue jumping
7968 DEC (HL) Is it time to stop jumping?
7969 JR NZ,$7998 Jump if not
796B CALL $7132 Return this character to the floor
796E LD L,$12 Remove the address of this routine from bytes 0x11 and 0x12 of the character's buffer
7970 LD (HL),$00
7972 RET
Prev: 7964 Up: Map Next: 7973