Prev: 26223 Up: Map Next: 26239
26224: Deal with a character who's been dethroned (1)
The address of this uninterruptible subcommand routine is placed into bytes 17 and 18 of a character's buffer by the routine at 26175 when he's been knocked out of a chair.
Input
H Dethroned character's number (183-209)
26224 LD L,19 Set the parameter controlling the delay before the character gets up to look for another seat
26226 LD (HL),4
26228 LD L,17 Replace the address of this routine in bytes 17 and 18 of the character's buffer with 26239
26230 LD (HL),127
26232 CALL 25012 Update the SRB for the character's current animatory state and location
26235 INC A A=animatory state of character sitting on the floor
26236 JP 24880 Update the character's animatory state and update the SRB
Prev: 26223 Up: Map Next: 26239