|  | Routines | 
| Prev: E3FD | Up: Map | Next: E468 | 
| E41D | CALL $E77A | |||
| 
This entry point is used by the routine at E3FD.
 | ||||
| E420 | LD A,(IY+$50) | Put the ID of the first item held in A. | ||
| E423 | ADD A,A | Double it to get a word offset. | ||
| E424 | LD E,A | Put this in DE. | ||
| E425 | LD D,$00 | |||
| E427 | LD HL,$E728 | Add the base address of the strings lookup table. (E728) | ||
| E42A | ADD HL,DE | |||
| E42B | LD E,(HL) | Put the actual address of the string in DE. | ||
| E42C | INC HL | |||
| E42D | LD D,(HL) | |||
| E42E | LD A,(IY+$55) | Put the ID of the second item held in A. | ||
| E431 | ADD A,A | Double it to get a word offset. | ||
| E432 | LD C,A | Put this in BC. | ||
| E433 | LD B,$00 | |||
| E435 | LD HL,$E728 | Add the base address of the strings lookup table. (E728) | ||
| E438 | ADD HL,BC | |||
| E439 | LD C,(HL) | Put the actual address of the string in BC. | ||
| E43A | INC HL | |||
| E43B | LD B,(HL) | |||
| E43C | PUSH BC | Remember this value. | ||
| E43D | EX DE,HL | Swap DE and HL. | ||
| E43E | LD DE,$DFDC | Set the drawing routine at B7BA to use the character set (DFDC) as a base address. | ||
| E441 | LD ($B7E9),DE | |||
| E445 | LD DE,$0003 | Start at position 3,0. | ||
| E448 | LD C,$43 | Set bright magenta on black attribute. | ||
| E44A | CALL $E468 | Print the item description | ||
| E44D | POP HL | Restore the address of the second item's description in HL. | ||
| E44E | LD DE,$0203 | Start at position 3,2. | ||
| E451 | LD C,$45 | Set bright cyan on black attribute. | ||
| E453 | CALL $E468 | Print the item description | ||
| E456 | LD A,(IY+$50) | Put the ID of the first item held in A. | ||
| E459 | LD DE,$0000 | Set position to 0,0 | ||
| E45C | CALL $B77B | Draw the item's graphic. | ||
| E45F | LD A,(IY+$55) | Put the ID of the second item held in A. | ||
| E462 | LD D,$02 | Set position to 0,2 | ||
| E464 | CALL $B77B | Draw the item's graphic. | ||
| E467 | RET | Return. | ||
| Prev: E3FD | Up: Map | Next: E468 |