Skool Daze Routines
27888: Make character stand up if he's not already
Used by the routine at 25534.
H Character number (152-169)
27888 LD L,99 Change the address in bytes 99/100 of the character's buffer to 25553
27890 LD (HL),209
27892 LD L,96
27894 LD A,(HL) A=character's animatory state
27895 AND 7 Keep only bits 0-2
27897 CP 4 Is the character standing?
27899 RET C Return if so
27900 POP DE Drop return address (25553) from the stack
27901 CALL 25108 Update SRB for current location of character
27904 AND 248 A=animatory state of character standing up
27906 JP 25008 Update character's animatory state and location and update SRB