Prev: 7CD4 Up: Map Next: 7DCB
7DA8: Room : Create room structure copy
Used by the routines at CurrentRoom_Initialise, Skar_View and Room_InitialiseInner.
Input
A Index of bank to copy from.
Output
Creates a copy of a rooms type structure.
CurrentRoomType_CopyDataStruct 7DA8 PUSH IX
7DAA LD (Room_CurrentType),A
7DAD LD L,A
7DAE LD H,$00
7DB0 ADD HL,HL
7DB1 ADD HL,HL
7DB2 ADD HL,HL
7DB3 LD DE,RoomCurrent_RoomStructCopy
7DB6 ADD HL,DE
7DB7 LD DE,CurrentRoom_Ptr_Path_EW
7DBA LD BC,$0008
7DBD LDIR
7DBF CALL LinkList_bee4_setup
7DC2 CALL Area_Check
7DC5 CALL Inv_Update
7DC8 POP IX
7DCA RET
Prev: 7CD4 Up: Map Next: 7DCB