![]() |
Routines |
| Prev: A127 | Up: Map | Next: A14D |
|
Walks the three inventory slots at $5E30 and draws each through DRAW_LIST, starting at $2CC8 -- so what the player is carrying is shown by drawing the objects themselves rather than by any separate icon. An empty slot draws nothing.
|
||||
| DRAW_INVENTORY | A13B | LD DE,$2CC8 | ||
| A13E | LD HL,$5E30 | |||
| A141 | LD B,$03 | |||
| DRAW_INVENTORY_0 | A143 | CALL DRAW_LIST | ||
| A146 | LD A,E | |||
| A147 | ADD A,$10 | |||
| A149 | LD E,A | |||
| A14A | DJNZ DRAW_INVENTORY_0 | |||
| A14C | RET | |||
| Prev: A127 | Up: Map | Next: A14D |