H | Character number of teacher conducting class (201-203) |
61512 | 3A00D0 | LD A,(53248) | A=animatory state of EINSTEIN |
61515 | FE34 | CP 52 | 52: Is EINSTEIN sitting down (i.e. in class)? |
61517 | CA157D | JP Z,32021 | Jump if so |
61520 | 11FDFF | LD DE,65533 | |
61523 | C1 | POP BC | |
61524 | EB | EX DE,HL | |
61525 | 09 | ADD HL,BC | |
61526 | EB | EX DE,HL | DE=address of CALL 61512 instruction in calling routine |
61527 | 2E03 | LD L,3 | Place this address into bytes 3 and 4 of the teacher's buffer, so that it takes control of him until EINSTEIN arrives in class |
61529 | 73 | LD (HL),E | |
61530 | 2C | INC L | |
61531 | 72 | LD (HL),D | |
61532 | C9 | RET | Return to character-controlling routine at 25296 |