Prev: 25503 Up: Map Next: 25525
25520: Jump to an interruptible subcommand
Used by the routines at 25700 and 32054. Copies the routine address from BC into bytes 9 and 10 of the character's buffer (thus setting the interruptible subcommand), and then jumps to that routine.
Input
H Character number (183-214)
BC 25581, 25656, 25677 or 62794
25520 PUSH BC Push the routine address in BC onto the stack
25521 LD L,9 Point HL at byte 9 of the character's buffer
25523 JR 25516 Place the interruptible subcommand routine address into bytes 9 and 10 of the character's buffer, then jump to it
Prev: 25503 Up: Map Next: 25525