| Routines

28978: Make a female character stop jumping

Used by the routine at 31078.
Input
H | Character number (183-189, 204 or 209)
28978 | CALL 25012 | Update the SRB for the character's current animatory state and location
28981 | LD A,252 | Determine which floor the character is currently on or above (she may be on a chair or still in the air)
28983 | ADD A,7
28985 | CP D
28986 | JR C,28983
28988 | LD D,A | D=3, 10 or 17 (top, middle or bottom floor)
28989 | JP 30115 | Restore the character's original animatory state and put her feet back on the floor