Routines

31128: Make female character jump up or down or remain on chair


Used by routine at 31078

H Character number (183-189, 204 or 209)

31128 2E15 LD L,21
31130 CB46 BIT 0,(HL) Is there a chair here to stand on?
31132 C0 RET NZ Return if so
31133 CDB461 CALL 25012 Update SRB for character's current animatory state and location
31136 2E13 LD L,19
31138 14 INC D
31139 CB46 BIT 0,(HL) Is this character in the air at the moment?
31141 2802 JR Z,31145 Jump if so
31143 15 DEC D
31144 15 DEC D
31145 C33061 JP 24880 Update SRB for character's new location