| Routines

77B3: Deal with BOY WANDER when he is firing

The address of this uninterruptible subcommand routine is placed into bytes 0x11 and 0x12 of BOY WANDER's buffer by the routine at 775B just after BOY WANDER has raised his catapult and fired. It controls BOY WANDER while he is lowering the catapult.
Input
H | 0xCE (BOY WANDER)
77B3 | CALL $61B4 | Update the SRB for BOY WANDER's current animatory state
77B6 | DEC A | A=0x1A or 0x9A: BOY WANDER lowering his arm
This entry point is used by the routine at 7813 with H=0xCF (ANGELFACE) or H=0xD2 (ERIC).
77B7 | CALL $7746 | Update the character's animatory state and return to 77BA (below) next time if we're dealing with BOY WANDER or ANGELFACE
This entry point is used by the routine at 5F08 with H=0xD1 (HAYLEY).
77BA | CALL $61B4 | Update the SRB for the character's current animatory state and location
This entry point is used by the routine at 5F1C with H=0xD1 (HAYLEY).
77BD | LD L,$14 | Byte 0x14 of the character's buffer holds the animatory state of the character that was saved before this action (firing/hitting/kissing) started
77BF | LD A,(HL) | Pick this up in A so it can be restored
77C0 | CALL $7746 | Update the character's animatory state and return to 77C3 (below) next time
77C3 | JP $6394 | Terminate this uninterruptible subcommand