| Routines

28775: Make BOY WANDER fire his catapult (5)

The address of this uninterruptible subcommand routine is placed into bytes 111 and 112 of BOY WANDER's buffer by the routine at 28744.
Input
H | 167 (BOY WANDER)
28775 | LD L,111 | Replace the address of this uninterruptible subcommand routine in bytes 111 and 112 of BOY WANDER's buffer with 28786
28777 | LD (HL),114
This entry point is used by the routines at 62495 and 62771 with H=172 (ERIC).
28779 | CALL 25108 | Update the SRB for the character's current animatory state
28782 | DEC A | A=character's next animatory state (lowering catapult)
28783 | JP 25008 | Update the character's animatory state and update the SRB