Use time capsule label for time capsule copies

This commit is contained in:
mid-kid 2023-04-01 03:29:33 +02:00
parent a1e711b80d
commit 354fefaefb

View File

@ -122,11 +122,11 @@ endc
jp nc, ExitLinkCommunications jp nc, ExitLinkCommunications
ld de, wLinkData ld de, wLinkData
ld bc, NAME_LENGTH + 1 + PARTY_LENGTH + 1 + (REDMON_STRUCT_LENGTH + NAME_LENGTH * 2) * PARTY_LENGTH + 3 ld bc, NAME_LENGTH + (1 + PARTY_LENGTH + 1) + (REDMON_STRUCT_LENGTH + NAME_LENGTH * 2) * PARTY_LENGTH + 3
call Link_CopyOTData call Link_CopyOTData
ld de, wOTPatchLists ld de, wOTPatchLists
ld hl, wLinkPlayerData ld hl, wTimeCapsulePlayerData
ld c, 2 ld c, 2
.loop .loop
ld a, [de] ld a, [de]
@ -152,7 +152,7 @@ endc
jr .loop jr .loop
.next .next
ld hl, wLinkPlayerData + SERIAL_PATCH_DATA_SIZE ld hl, wTimeCapsulePlayerData + SERIAL_PATCH_DATA_SIZE
dec c dec c
jr nz, .loop jr nz, .loop