Skool Daze Routines
32132: Make teacher tell kids to sit down
Used in the teachers' command lists 128, 130, 132 and 134.
H Character number of teacher (163-166)
32132 CALL 63191 Make MR CREAK reveal his safe combination letter if appropriate; also set BC=61889 ('SILENCE! OR I'LL CANE THE LOT OF YOU')
32135 LD A,H Get the teacher's character number (163-166) in A
32136 SUB 163 Is it MR WACKER?
32138 JR Z,32152 Jump if so
32140 LD C,89 BC=61785 ('RIGHT! SIT DOWN MY LITTLE CHERUBS')
32142 DEC A Is it MR ROCKITT?
32143 JR Z,32152 Jump if so
32145 LD C,123 BC=61819 ('COME ON CHAPS - SETTLE DOWN')
32147 DEC A Is it MR WITHIT?
32148 JR Z,32152 Jump if so
32150 LD C,151 It must be MR CREAK; set BC=61847 ('BE QUIET AND SEATED YOU NASTY LITTLE BOYS')
32152 CALL 32038 Make the teacher speak
32155 JP 25256 Proceed to the next instruction in the command list