Routines |
Prev: 7974 | Up: Map | Next: 79AC |
Used by the routine at 7966. Does nothing if the female character is standing on a chair; otherwise makes her jump up or return to the floor.
|
||||||||
7998 | LD L,$15 | Bit 0 of byte 0x15 of the character's buffer is set if she's standing on a chair | ||||||
799A | BIT 0,(HL) | |||||||
799C | RET NZ | Return if she is standing on a chair | ||||||
799D | CALL $61B4 | Update the SRB for the character's current animatory state and location | ||||||
79A0 | LD L,$13 | The counter at byte 0x13 is even if the character is in the air, odd if she's got her feet on the floor | ||||||
79A2 | INC D | Down a level | ||||||
79A3 | BIT 0,(HL) | Is this character in the air at the moment? | ||||||
79A5 | JR Z,$79A9 | Jump if so | ||||||
79A7 | DEC D | Up a level | ||||||
79A8 | DEC D | |||||||
79A9 | JP $6130 | Update the character's y-coordinate and update the SRB |
Prev: 7974 | Up: Map | Next: 79AC |