Prev: 45779 Up: Map Next: 45798
45781: Update current character based upon selection made in menu
Used by the routine at 45963.
Input
A Index of selected character from a character-selection menu
45781 LD HL,23422 Point HL at list of characters in room of interest
45784 LD E,A Load DE with index of selected item in menu...
45785 LD D,0 ...
45787 ADD HL,DE Add this as offset in table of characters in room to point to character of interest
45788 LD A,(HL) Load index of this character into A
45789 LD (41937),A Modify operand of instruction at 41936 to use this particular character (i.e. set Current Character)
This entry point is used by the routines at 41924 and 46106.
45792 LD DE,45798 Point DE at instruction to print short name of Current Character
This entry point is used by the routine at 45766.
45795 JP 63349 Print text at DE in command summary window at top of screen and return
Prev: 45779 Up: Map Next: 45798