Prev: 7C18 Up: Map Next: 7C47
7C3F: Restart the command list unless it's time to start the lesson
Used by the teachers' command lists 0x80, 0x82, 0x84, 0x86 and 0xB8. Restarts the teacher's command list if it's not time to start the class (or the dinner period) yet; otherwise moves to the next command in the command list.
Input
H Teacher's character number (0xA3-0xA6)
7C3F LD A,($7FF8) Pick up the MSB of the lesson clock (0x00-0x15)
7C42 CP $0F Is it time to start dinner or the lesson?
7C44 JP C,$62A8 Move to the next command in the command list if so; otherwise continue into 7C47 (restart command list)
Prev: 7C18 Up: Map Next: 7C47