Skool Daze Routines
31834: Place controlling routine address in character's buffer
Used by command lists 140, 142, 148, 150, 156, 158, 164, 166, 172, 174, 178, 180, 182, 192, 194, 216 and 220 to collect a controlling routine address from a command list and place it in bytes 124 and 125 of the character's buffer.
H Character number (152-169)
31834 NOP
31835 NOP
31836 NOP
31837 NOP
31838 LD L,124 Collect the address of the controlling routine from the command list and place it in bytes 124 and 125 of the character's buffer
31840 CALL 24972
31843 LD (HL),A
31844 INC L
31845 CALL 24972
31848 LD (HL),A
31849 JP 25226 Move to the next instruction in the command list