![]() |
Routines |
| Prev: 45364 | Up: Map | Next: 45390 |
|
||||||||||||
| 45380 | HALT | Wait for interrupt | ||||||||||
|
This entry point is used by the routine at 62443.
|
||||||||||||
| 45381 | LD A,(HL) | If current inventory slot is empty... | ||||||||||
| 45382 | OR A | ... | ||||||||||
| 45383 | JR Z,45388 | ...then skip ahead to 45388 | ||||||||||
| 45385 | INC HL | Advance to next inventory slot | ||||||||||
| 45386 | DJNZ 45381 | If there are still slots to process then loop back to 45381 | ||||||||||
| 45388 | LD (HL),C | Load item into current inventory slot | ||||||||||
| 45389 | RET | Return | ||||||||||
| Prev: 45364 | Up: Map | Next: 45390 |