Back to Skool Routines
Prev: 25488 Up: Map Next: 25503
25492: Blank out byte 18 of character's buffer
Used by the routines at 30102, 30643 and 31254. Blanks out the address of the routine held in bytes 17 and 18 of the character's buffer, which has the effect of making the routine at 25296 consider the address held in bytes 9 and 10 of the character's buffer as the next candidate for controlling routine.
25492 LD L,18 Byte 18 of the buffer contains the MSB of the address of the routine which has just surrendered control of the character
This entry point is used by the routines at 25484 (with L=4) and 25488 (with L=10):
25494 LD A,(32764) A=number of character being worked on (183-214)
25497 LD H,A Point to that character's buffer
25498 LD (HL),0 Zero out the relevant byte (4, 10 or 18) in the buffer
25500 JP 25432 Re-enter the character-moving routine (25296) at the checkpoint for bytes 9 and 10
Prev: 25488 Up: Map Next: 25503