Skool Daze Routines
27733: Deal with character who's been dethroned (1)
The address of this routine is placed in bytes 111 and 112 of a character's buffer by the routine at 27543 when he has been knocked out of a chair.
H Character number (152-169)
27733 LD L,113 Set the delay counter determining how long the character will sit on the floor before rising
27735 LD (HL),4
27737 LD L,111 Replace the address of this routine in bytes 111 and 112 of the character's buffer with that of 27748
27739 LD (HL),100
27741 CALL 25108 Update SRB for current location of character
27744 INC A A=animatory state of character sitting on the floor
27745 JP 25008 Update character's animatory state and location and update SRB