Routines

61533: Make teacher tell class what to do


Used by routine at 61696

H Character number of teacher (201-204)

61533 CD9162 CALL 25233 A=random number
61536 FEF0 CP 240
61538 CB7F BIT 7,A
61540 1E5B LD E,91 91: WRITE AN ESSAY TITLED 'WHY I LOVE SCHOOL'
61542 3004 JR NC,61548
61544 2801 JR Z,61547
61546 1D DEC E E=89 (START REVISING FOR YOUR EXAMS) or 90 (START READING AT THE NEXT CHAPTER IN YOUR BOOKS)
61547 1D DEC E
61548 01086A LD BC,27144 Redirect control to the routine at 27144 (make character speak), the return control to the calling routine
61551 C39F63 JP 25503