| Routines

F804: Make ANGELFACE or BOY WANDER hit or fire now and then

The address of this continual subcommand routine is placed into bytes 0x17 and 0x18 of BOY WANDER's or ANGELFACE's buffer by command lists 0x20, 0x22, 0x24, 0x26, 0x28, 0x2A, 0x2E, 0x30, 0x32, 0x34, 0x36 and 0x38.
Input
H | 0xCE (BOY WANDER) or 0xCF (ANGELFACE)
F804 | LD A,H | Is this ANGELFACE?
F805 | CP $CF
F807 | JP Z,$77F2 | Jump if so
F80A | JP $775B | Jump if it's BOY WANDER