Skool Daze Routines
31178: Make character grass and answer teacher's questions (2)
The address of this routine is placed in bytes 99 and 100 of EINSTEIN's buffer by the routine at 31162.
H 169 (EINSTEIN's character number)
31178 LD L,99 Replace the address of this routine in bytes 99/100 of EINSTEIN's buffer with that of 31162
31180 LD (HL),186
31182 LD HL,32713 Signal that EINSTEIN has just spoken (so it's the teacher's turn to speak)
31185 RES 7,(HL)
31187 RET