Prev: 9326 Up: Map Next: 9358
934C: Move the carried items along one slot
Used by the routines at PICK_UP and PUT_DOWN.
Three slots of four bytes at $5E30, $5E34 and $5E38. LDDR copies the eight bytes at $5E30 up to $5E34, so the newest slot is freed and whatever was in the third is overwritten -- which is why DROP_CARRIED has to run first.
SHIFT_CARRIED 934C LD HL,$5E37 CARRIED+7: the last byte of the second slot...
934F LD DE,$5E3B CARRIED+11: ...and of the third
9352 LD BC,$0008
9355 LDDR
9357 RET
Prev: 9326 Up: Map Next: 9358