![]() |
Routines |
| Prev: 708E | Up: Map |
|
The address of this uninterruptible subcommand routine is placed into bytes 0x11 and 0x12 of the character's buffer by the routine at 708E.
|
||||||||||
| 70B7 | LD L,$12 | Remove the address of this routine from bytes 0x11 and 0x12 of the character's buffer | ||||||||
| 70B9 | LD (HL),$00 | |||||||||
| 70BB | INC L | L=0x13 | ||||||||
| 70BC | LD A,(HL) | A=door identifier (see 7040) | ||||||||
| 70BD | INC L | L=0x14 | ||||||||
| 70BE | LD B,(HL) | B=0 if the character is going to close the door, or 1 if he's going to open it | ||||||||
|
This entry point is used by the routine at F939.
|
||||||||||
| 70BF | CALL $7040 | Open or close the door | ||||||||
| 70C2 | CALL $61B4 | Update the SRB for the character's current animatory state | ||||||||
| 70C5 | AND $F8 | A=animatory state of the character with his arm down | ||||||||
| 70C7 | JP $6130 | Update the character's animatory state and update the SRB | ||||||||
| Prev: 708E | Up: Map |