Back to Skool Routines
24328: Make HAYLEY hit ERIC
The address of this routine is placed into bytes 17 and 18 of HAYLEY's buffer by the routine at 24348 when ERIC has tried to steal one kiss too many.
A 95 (MSB of the address of this routine)
H 209 (HAYLEY)
24328 LD (32755),A Place a large value into ERIC's animation timer at 32755 to ensure that he will not have time to escape HAYLEY's fist
24331 CALL 25012 Update SRB for HAYLEY's current animatory state and location
24334 LD L,20 Store HAYLEY's current animatory state in byte 20 of her buffer for the time being
24336 LD (HL),A
24337 OR 7 A=63/191: HAYLEY with her arm up (as if hitting ERIC)
24339 CALL 30534 Update SRB for HAYLEY's new animatory state, and return to 24342 (below) next time
24342 CALL 29993 Knock ERIC over
24345 JP 30650 Update SRB and restore HAYLEY's original animatory state