Prev: 57401 Up: Map Next: 57538
57520: Copy room item data from item buffer to room data sets
Used by the routines at 49498, 49600, 49679, 49765, 49808, 49912, 49993, 50272, 50712, 54053, 54983, 55088, 55347, 55564 and 57015.
Copies the 16 bytes of object/item data from the buffer at 60227 to a data set at 31744.
57520 LD B,16 16 bytes to copy
57522 LD DE,60227 Address pointer to start of data buffer
57525 LD HL,(60094) Get pointer to start of data set at 31744.
57528 LD A,(DE) Copy a byte from the buffer to the set
57529 LD (HL),A
57530 INC DE
57531 INC HL
57532 DJNZ 57528 Repeat x16 bytes
57534 LD (60094),HL Address pointer to start of next data set
57537 RET
Prev: 57401 Up: Map Next: 57538