Label wOTLinkBattleRNData

This commit is contained in:
mid-kid
2023-03-30 21:23:46 +02:00
parent 08cfbbb1d9
commit 5ae35e5770
2 changed files with 6 additions and 2 deletions

View File

@@ -247,7 +247,7 @@ endc
ldh [rIE], a
ld hl, wLinkBattleRNPreamble
ld de, wEnemyMon
ld de, wOTLinkBattleRNData
ld bc, SERIAL_RN_PREAMBLE_LENGTH + SERIAL_RNS_LENGTH
vc_hook Wireless_ExchangeBytes_RNG_state
call Serial_ExchangeBytes
@@ -1204,7 +1204,7 @@ Link_CopyRandomNumbers:
ldh a, [hSerialConnectionStatus]
cp USING_INTERNAL_CLOCK
ret z
ld hl, wEnemyMonSpecies
ld hl, wOTLinkBattleRNData
call Link_FindFirstNonControlCharacter_AllowZero
ld de, wLinkBattleRNs
ld c, 10