Routines |
Prev: 34859 | Up: Map | Next: 34883 |
|
||||||||||
34864 | SUB 65 | Convert A from ASCII code to inventory slot number | ||||||||
34866 | LD E,A | Load inventory slot number into DE... | ||||||||
34867 | LD D,0 | ... | ||||||||
34869 | ADD HL,DE | Add to HL as offset | ||||||||
34870 | LD A,(HL) | Load index of object in that slot into A | ||||||||
34871 | LD (30467),A | Set this object as the Current Object | ||||||||
34874 | LD B,A | Also load index into B | ||||||||
34875 | CALL 34842 | Point HL at name of object in object names table | ||||||||
34878 | EX DE,HL | Switch registers so DE points to object name and HL contains inventory slot number | ||||||||
34879 | CALL 38693 | ...and print in command summary window at bottom of screen | ||||||||
34882 | RET | Return |
Prev: 34859 | Up: Map | Next: 34883 |