mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
Label wOTLinkBattleRNData
This commit is contained in:
parent
08cfbbb1d9
commit
5ae35e5770
@ -247,7 +247,7 @@ endc
|
|||||||
ldh [rIE], a
|
ldh [rIE], a
|
||||||
|
|
||||||
ld hl, wLinkBattleRNPreamble
|
ld hl, wLinkBattleRNPreamble
|
||||||
ld de, wEnemyMon
|
ld de, wOTLinkBattleRNData
|
||||||
ld bc, SERIAL_RN_PREAMBLE_LENGTH + SERIAL_RNS_LENGTH
|
ld bc, SERIAL_RN_PREAMBLE_LENGTH + SERIAL_RNS_LENGTH
|
||||||
vc_hook Wireless_ExchangeBytes_RNG_state
|
vc_hook Wireless_ExchangeBytes_RNG_state
|
||||||
call Serial_ExchangeBytes
|
call Serial_ExchangeBytes
|
||||||
@ -1204,7 +1204,7 @@ Link_CopyRandomNumbers:
|
|||||||
ldh a, [hSerialConnectionStatus]
|
ldh a, [hSerialConnectionStatus]
|
||||||
cp USING_INTERNAL_CLOCK
|
cp USING_INTERNAL_CLOCK
|
||||||
ret z
|
ret z
|
||||||
ld hl, wEnemyMonSpecies
|
ld hl, wOTLinkBattleRNData
|
||||||
call Link_FindFirstNonControlCharacter_AllowZero
|
call Link_FindFirstNonControlCharacter_AllowZero
|
||||||
ld de, wLinkBattleRNs
|
ld de, wLinkBattleRNs
|
||||||
ld c, 10
|
ld c, 10
|
||||||
|
@ -2631,11 +2631,15 @@ ENDU
|
|||||||
wTempEnemyMonSpecies:: db
|
wTempEnemyMonSpecies:: db
|
||||||
wTempBattleMonSpecies:: db
|
wTempBattleMonSpecies:: db
|
||||||
|
|
||||||
|
UNION
|
||||||
|
wOTLinkBattleRNData:: ds SERIAL_RN_PREAMBLE_LENGTH + SERIAL_RNS_LENGTH
|
||||||
|
NEXTU
|
||||||
wEnemyMon:: battle_struct wEnemyMon
|
wEnemyMon:: battle_struct wEnemyMon
|
||||||
wEnemyMonBaseStats:: ds NUM_EXP_STATS
|
wEnemyMonBaseStats:: ds NUM_EXP_STATS
|
||||||
wEnemyMonCatchRate:: db
|
wEnemyMonCatchRate:: db
|
||||||
wEnemyMonBaseExp:: db
|
wEnemyMonBaseExp:: db
|
||||||
wEnemyMonEnd::
|
wEnemyMonEnd::
|
||||||
|
ENDU
|
||||||
|
|
||||||
wBattleMode::
|
wBattleMode::
|
||||||
; 0: overworld
|
; 0: overworld
|
||||||
|
Loading…
Reference in New Issue
Block a user