![]() |
Routines |
| Prev: 28814 | Up: Map | Next: 28874 |
|
The address of this uninterruptible subcommand routine is placed into bytes 17 and 18 of the character's buffer by the routine at 28814.
|
||||||||
| 28855 | LD L,18 | Remove the address of this routine from bytes 17 and 18 of the character's buffer | ||||||
| 28857 | LD (HL),0 | |||||||
| 28859 | INC L | L=19 | ||||||
| 28860 | LD A,(HL) | A=door identifier (see 28736) | ||||||
| 28861 | INC L | L=20 | ||||||
| 28862 | 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 63801.
|
||||||||
| 28863 | CALL 28736 | Open or close the door | ||||||
| 28866 | CALL 25012 | Update the SRB for the character's current animatory state | ||||||
| 28869 | AND 248 | A=animatory state of the character with his arm down | ||||||
| 28871 | JP 24880 | Update the character's animatory state and update the SRB | ||||||
| Prev: 28814 | Up: Map | Next: 28874 |