Prev: 7C57 Up: Map Next: 7C6C
7C5A: Place a continual subcommand routine address into a character's buffer
Used by command lists 0x8C, 0x8E, 0x94, 0x96, 0x9C, 0x9E, 0xA4, 0xA6, 0xAC, 0xAE, 0xB2, 0xB4, 0xB6, 0xC0, 0xC2, 0xD6, 0xD8, 0xDA and 0xDC. Collects a continual subcommand routine address from a command list and places it into bytes 0x7C and 0x7D of the character's buffer. The routine address will be one of the following:
Address Description
6F1E Make ANGELFACE hit now and then
7000 Make BOY WANDER fire his catapult now and then
7DEA Make a character walk fast
FA2A Check whether ANGELFACE is touching ERIC
Input
H Character number (0x98-0xA9)
7C5A NOP
7C5B NOP
7C5C NOP
7C5D NOP
7C5E LD L,$7C Collect the address of the continual subcommand routine from the command list and place it into bytes 0x7C and 0x7D of the character's buffer
7C60 CALL $618C
7C63 LD (HL),A
7C64 INC L
7C65 CALL $618C
7C68 LD (HL),A
7C69 JP $628A Move to the next command in the command list
Prev: 7C57 Up: Map Next: 7C6C