| Routines

28786: Make BOY WANDER fire his catapult (6)

The address of this uninterruptible subcommand routine is placed into bytes 111 and 112 of BOY WANDER's buffer by the routine at 28775.
Input
H | 167 (BOY WANDER)
28786 | CALL 25108 | Update the SRB for BOY WANDER's current animatory state
28789 | LD L,113 | Byte 113 of BOY WANDER's buffer holds his pre-fire animatory state; pick this up in A
28791 | LD A,(HL)
28792 | LD L,111 | Replace the address of this uninterruptible subcommand routine in bytes 111 and 112 of BOY WANDER's buffer with 28799
28794 | LD (HL),127
28796 | JP 25008 | Restore BOY WANDER's pre-fire animatory state and update the SRB