Prev: 27726 Up: Map Next: 27748
27733: Deal with a character who's been dethroned (1)
The address of this uninterruptible subcommand routine is placed into bytes 111 and 112 of a character's buffer by the routine at 27543 when he's been knocked out of a chair.
Input
H Dethroned character's 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 uninterruptible subcommand routine in bytes 111 and 112 of the character's buffer with that of 27748
27739 LD (HL),100
27741 CALL 25108 Update the SRB for the character's current animatory state
27744 INC A A=animatory state of the character sitting on the floor
27745 JP 25008 Update the character's animatory state and update the SRB
Prev: 27726 Up: Map Next: 27748