| Routines

28716: Make BOY WANDER fire his catapult (2)

The address of this uninterruptible subcommand routine is placed into bytes 111 and 112 of BOY WANDER's buffer by the routine at 28665.
Input
H | 167 (BOY WANDER)
28716 | LD L,111 | Replace the address of this uninterruptible subcommand routine in bytes 111 and 112 of BOY WANDER's buffer with 28733
28718 | LD (HL),61
28720 | CALL 25108 | Update the SRB for BOY WANDER's current animatory state
28723 | LD L,113 | Store BOY WANDER's pre-fire animatory state in byte 113 of his buffer
28725 | LD (HL),A
28726 | AND 128 | A=56/184: BOY WANDER firing (phase 1)
28728 | ADD A,56
28730 | JP 25008 | Update BOY WANDER's animatory state and update the SRB