Prev: 6A3C Up: Map Next: 6A81
6A68: Action: Drop Everything
Puts every object that is carried down in the current room and clears the carried count.
DropEverything 6A68 LD B,$FE Visit every object location. B counts FE slots.
6A6A LD HL,$5DCA
DropEverything_One 6A6D LD A,($5D89) A carried object is selected.
6A70 CP (HL)
6A71 JR NZ,DropEverything_Next
6A73 LD A,($5D87) It is given the current room.
6A76 LD (HL),A
DropEverything_Next 6A77 INC HL The next object.
6A78 DJNZ DropEverything_One
6A7A XOR A Clear the carried count.
6A7B LD ($5D8C),A
6A7E JP RoomHasChanged Jump to RoomHasChanged now that the carried objects are in this room.
Prev: 6A3C Up: Map Next: 6A81