| Routines

30643: Deal with BOY WANDER when he is firing

The address of this uninterruptible subcommand routine is placed into bytes 17 and 18 of BOY WANDER's buffer by the routine at 30555 just after BOY WANDER has raised his catapult and fired. It controls BOY WANDER while he is lowering the catapult.
Input
H | 206 (BOY WANDER)
30643 | CALL 25012 | Update the SRB for BOY WANDER's current animatory state
30646 | DEC A | A=26 or 154: BOY WANDER lowering his arm
This entry point is used by the routine at 30739 with H=207 (ANGELFACE) or H=210 (ERIC).
30647 | CALL 30534 | Update the character's animatory state and return to 30650 (below) next time if we're dealing with BOY WANDER or ANGELFACE
This entry point is used by the routine at 24328 with H=209 (HAYLEY).
30650 | CALL 25012 | Update the SRB for the character's current animatory state and location
This entry point is used by the routine at 24348 with H=209 (HAYLEY).
30653 | LD L,20 | Byte 20 of the character's buffer holds the animatory state of the character that was saved before this action (firing/hitting/kissing) started
30655 | LD A,(HL) | Pick this up in A so it can be restored
30656 | CALL 30534 | Update the character's animatory state and return to 30659 (below) next time
30659 | JP 25492 | Terminate this uninterruptible subcommand