Prev: 30532 Up: Map Next: 30543
30534: Initialise an uninterruptible subcommand
Used by the routines at 24328, 27904, 30380, 30555, 30643, 30739, 30804, 62178, 63586, 63801, 63915 and 64077 to place the address of the instruction following CALL 30534 into bytes 17 and 18 of the character's buffer. Thus that address becomes the address of the character's current uninterruptible subcommand routine.
Input
A Character's new animatory state
DE Character's new coordinates
H Character number (183-214)
30534 POP BC Get the return address in BC
30535 LD L,17 Place it into bytes 17 and 18 of the character's buffer
30537 LD (HL),C
30538 INC L
30539 LD (HL),B
30540 JP 24880 Update the character's animatory state and location and update the SRB
Prev: 30532 Up: Map Next: 30543