mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
Use time capsule label for time capsule copies
This commit is contained in:
parent
a1e711b80d
commit
354fefaefb
@ -122,11 +122,11 @@ endc
|
||||
jp nc, ExitLinkCommunications
|
||||
|
||||
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
|
||||
|
||||
ld de, wOTPatchLists
|
||||
ld hl, wLinkPlayerData
|
||||
ld hl, wTimeCapsulePlayerData
|
||||
ld c, 2
|
||||
.loop
|
||||
ld a, [de]
|
||||
@ -152,7 +152,7 @@ endc
|
||||
jr .loop
|
||||
|
||||
.next
|
||||
ld hl, wLinkPlayerData + SERIAL_PATCH_DATA_SIZE
|
||||
ld hl, wTimeCapsulePlayerData + SERIAL_PATCH_DATA_SIZE
|
||||
dec c
|
||||
jr nz, .loop
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user