| Routines

28733: Make BOY WANDER fire his catapult (3)

The address of this uninterruptible subcommand routine is placed into bytes 111 and 112 of BOY WANDER's buffer by the routine at 28716.
Input
H | 167 (BOY WANDER)
28733 | LD L,111 | Replace the address of this uninterruptible subcommand routine in bytes 111 and 112 of BOY WANDER's buffer with 28744
28735 | LD (HL),72
This entry point is used by the routines at 62495 and 62628 with H=172 (ERIC).
28737 | CALL 25108 | Update the SRB for the character's current animatory state
28740 | INC A | A=animatory state of the character firing (phase 2)
28741 | JP 25008 | Update the character's animatory state and update the SRB