| Routines

24247: Signal that ERIC is firing the catapult, hitting, or kissing

Used by the routines at 24263, 24296 and 24348.
Input
A | ERIC's next animatory state (bit 7 reset)
24247 | LD HL,32755 | Initialise ERIC's main action timer at 32755 to 5
24250 | LD (HL),5
24252 | LD L,251 | HL=32763 (ERIC's status flags)
24254 | LD (HL),32 | Set bit 5: ERIC is firing, hitting or kissing
24256 | POP HL | HL=address of the instruction after the CALL 24247 that got us here; store this at 32727 for collection later by the routine at 24237
24257 | LD (32727),HL
24260 | JP 57650 | Begin the fire/hit/kiss action