Prev: 45169 Up: Map Next: 45183
45170: Get the LSB of the message address for a main character's name
Used by the routine at 45288. Returns with the LSB in L.
Input
B 1-8 (corresponding to one of the eight main characters)
45170 LD A,8 C=8-B
45172 SUB B
45173 LD C,A
45174 ADD A,A A=8*(8-B)
45175 ADD A,A
45176 ADD A,A
45177 SUB C A=7*(8-B)
45178 ADD A,A A=14*(8-B)
45179 ADD A,128 A=128+14*(8-B)
45181 LD L,A Place this LSB in L
45182 RET
Prev: 45169 Up: Map Next: 45183