Routines |
Prev: 31092 | Up: Map | Next: 31148 |
Used by the routine at 31078. Does nothing if the female character is standing on a chair; otherwise makes her jump up or return to the floor.
|
||||||||
31128 | LD L,21 | Bit 0 of byte 21 of the character's buffer is set if she's standing on a chair | ||||||
31130 | BIT 0,(HL) | |||||||
31132 | RET NZ | Return if she is standing on a chair | ||||||
31133 | CALL 25012 | Update the SRB for the character's current animatory state and location | ||||||
31136 | LD L,19 | The counter at byte 19 is even if the character is in the air, odd if she's got her feet on the floor | ||||||
31138 | INC D | Down a level | ||||||
31139 | BIT 0,(HL) | Is this character in the air at the moment? | ||||||
31141 | JR Z,31145 | Jump if so | ||||||
31143 | DEC D | Up a level | ||||||
31144 | DEC D | |||||||
31145 | JP 24880 | Update the character's y-coordinate and update the SRB |
Prev: 31092 | Up: Map | Next: 31148 |