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)

24328 32F37F LD (32755),A Place a large value into 32755 to ensure that ERIC will not have time to escape HAYLEY's fist
24331 CDB461 CALL 25012 Update SRB for HAYLEY's current animatory state and location
24334 2E14 LD L,20 Store HAYLEY's current animatory state in byte 20 of her buffer for the time being
24336 77 LD (HL),A
24337 F607 OR 7 A=animatory state of HAYLEY with her arm up (as if hitting ERIC)
24339 CD4677 CALL 30534 Update SRB for HAYLEY's new animatory state, and return to 24342 next time
24342 CD2975 CALL 29993 Knock ERIC over
24345 C3BA77 JP 30650 Update SRB and restore HAYLEY's original animatory state