H | Character number (183-209) |
25656 | 2E00 | LD L,0 | |
25658 | CB46 | BIT 0,(HL) | Is the character midstride? |
25660 | C2FD63 | JP NZ,25597 | Jump if so |
25663 | 2E0B | LD L,11 | Byte 11 of the character's buffer holds the number of steps left to be climbed |
25665 | 35 | DEC (HL) | One fewer now |
25666 | CA9063 | JP Z,25488 | Jump if the top of the staircase has been reached |
25669 | CDB461 | CALL 25012 | Update SRB for character's current animatory state and location |
25672 | 15 | DEC D | Up a step |
25673 | 3C | INC A | One foot forward |
25674 | C33061 | JP 24880 | Update SRB for character's new animatory state (midstride) and location |