Prev: F9F6 Up: Map Next: FA10
FA04: Adjust the lesson length and prepare a character for the search for ERIC
Used by the routine at F78E. Before little boy no. 10, MR WACKER or MR ROCKITT goes off to look for ERIC (to deliver a message), the skool clock is adjusted to allow ERIC's chaser enough time to find him before the bell rings.
Input
A 0xFF
H Character number (0xA1, 0xA3, 0xA4)
FA04 LD ($7FF8),A Set the MSB of the lesson clock to 0xFF (so that the character looking for ERIC will have time to find him before the bell rings)
FA07 CALL $6214 Update the SRB for the character's current animatory state
FA0A LD L,$60 Byte 0x60 of the character's buffer holds his animatory state
FA0C AND $FA Adjust the character's animatory state to ensure that he is not midstride
FA0E LD (HL),A
FA0F RET
Prev: F9F6 Up: Map Next: FA10