Skool Daze Routines
31895: Make teacher perform dinner duty (2)
The address of this routine is placed in bytes 99 and 100 of the character's buffer by the routine at 31854. The teacher on dinner duty has walked to the left end of the dinner hall, so it's time to check whether ERIC is present.
31895 CALL 31188 Set the zero flag if ERIC is in the dinner hall
31898 LD DE,30014 D=117, E=62 (x-coordinate of the far right end of dinner hall)
31901 JR 31867 Go and look for ERIC, or go to the right end of the hall