Prev: E039 Up: Map Next: E0C2
E0B0: Copy room item data from item buffer to room data sets
Used by the routines at C15A, C1C0, C20F, C265, C290, C2F8, C349, C460, C618, D325, D6C7, D730, D833, D90C and DEB7.
Copies the 16 bytes of object/item data from the buffer at EB43 to a data set at 7C00.
E0B0 LD B,$10 16 bytes to copy
E0B2 LD DE,$EB43 Address pointer to start of data buffer
E0B5 LD HL,($EABE) Get pointer to start of data set at 7C00.
E0B8 LD A,(DE) Copy a byte from the buffer to the set
E0B9 LD (HL),A
E0BA INC DE
E0BB INC HL
E0BC DJNZ $E0B8 Repeat x16 bytes
E0BE LD ($EABE),HL Address pointer to start of next data set
E0C1 RET
Prev: E039 Up: Map Next: E0C2