Skool Daze Routines
28786: Make BOY WANDER fire catapult (6)
The address of this routine is placed in bytes 111 and 112 of BOY WANDER's buffer by the routine at 28775.
H 167 (BOY WANDER's character number)
28786 CALL 25108 Update SRB for BOY WANDER's current location
28789 LD L,113 Byte 113 holds the animatory state of BOY WANDER before he fired the catapult; pick this up in A
28791 LD A,(HL)
28792 LD L,111 Replace the address of this routine in bytes 111 and 112 of BOY WANDER's buffer with 28799
28794 LD (HL),127
28796 JP 25008 Update BOY WANDER's animatory state and location and update SRB