Skool Daze Routines
31162: Make character grass and answer teacher's questions (1)
Used in EINSTEIN's command lists 144, 152, 160 and 168.
H 169 (EINSTEIN's character number)
31162 LD A,(32713) Return if it's not EINSTEIN's turn to speak yet
31165 RLCA
31166 RET NC
31167 LD L,99 Replace the address of this routine in bytes 99/100 of EINSTEIN's buffer with that of 31178
31169 LD (HL),202
31171 LD L,106 Place 121 in byte 106 of EINSTEIN's buffer, setting the routine address in bytes 105 and 106 to 31110
31173 LD (HL),121
31175 JP 31110