Prev: 7DD8 Up: Map Next: 7DF2
7DEA: Make a character walk fast
The address of this continual subcommand routine is placed into bytes 0x7C and 0x7D of a character's buffer by command lists 0xD6 and 0xDA. This routine is also used directly by the routines at 7BA0, F78E and FA2A.
Input
H Character number (0x98-0xA9)
7DEA LD L,$7B Set the speed change delay counter in byte 0x7B of the character's buffer to 4, preventing any speed change by the routine at 62B2
7DEC LD (HL),$04
7DEE DEC L Reset bit 7 of byte 0x7A of the character's buffer, indicating that he is walking fast
7DEF RES 7,(HL)
7DF1 RET
Prev: 7DD8 Up: Map Next: 7DF2