![]() |
Routines |
| H | Character number (183-214) |
| 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 28767) |
| 28861 | INC L | L=20 |
| 28862 | LD B,(HL) | B=0 if character is going to close the door, 1 if to open it |
| 28863 | CALL 28736 | Open or close the door |
| 28866 | CALL 25012 | Update SRB for the character's current animatory state |
| 28869 | AND 248 | A=animatory state of character with arm down |
| 28871 | JP 24880 | Update SRB for the character's new animatory state |