|  | Routines | 
| Prev: 33500 | Up: Map | Next: 33525 | 
| 
 | ||||||||||||
| 33516 | LD A,(HL) | If current inventory slot is empty... | ||||||||||
| 33517 | OR A | ... | ||||||||||
| 33518 | JR Z,33523 | ...then skip ahead to 33523 | ||||||||||
| 33520 | INC HL | Advance to next inventory slot | ||||||||||
| 33521 | DJNZ 33516 | If there are still slots to process then loop back to 33516 | ||||||||||
| 33523 | LD (HL),C | Load item into current inventory slot | ||||||||||
| 33524 | RET | Return | ||||||||||
| Prev: 33500 | Up: Map | Next: 33525 |