VC ExchangeBytes Aliases (#363)

Co-authored-by: aaaaaa123456789 <aaaaaa123456789@acidch.at>
This commit is contained in:
vulcandth 2022-06-22 19:15:58 -05:00 committed by GitHub
parent 9cfae34658
commit 610ec0fd22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 9 deletions

View File

@ -124,21 +124,21 @@ CableClub_DoBattleOrTradeAgain:
ld hl, wSerialRandomNumberListBlock
ld de, wSerialOtherGameboyRandomNumberListBlock
ld bc, $11
vc_hook Wireless_ExchangeBytes_1_unknown_Type5
vc_hook Wireless_ExchangeBytes_RNG_state_unknown_Type5
call Serial_ExchangeBytes
ld a, SERIAL_NO_DATA_BYTE
ld [de], a
ld hl, wSerialPlayerDataBlock
ld de, wSerialEnemyDataBlock
ld bc, $1a8
vc_hook Wireless_ExchangeBytes_2
vc_hook Wireless_ExchangeBytes_party_structs
call Serial_ExchangeBytes
ld a, SERIAL_NO_DATA_BYTE
ld [de], a
ld hl, wSerialPartyMonsPatchList
ld de, wSerialEnemyMonsPatchList
ld bc, $c8
vc_hook Wireless_ExchangeBytes_3
vc_hook Wireless_ExchangeBytes_patch_lists
call Serial_ExchangeBytes
ld a, (1 << SERIAL) | (1 << TIMER) | (1 << VBLANK)
ldh [rIE], a

View File

@ -81,17 +81,17 @@ Mode = 1
Address = {HEX @+1}
Fixcode = {PATCH +1}
[Network17@Wireless_ExchangeBytes_1_unknown_Type5]
[Network17@Wireless_ExchangeBytes_RNG_state_unknown_Type5]
Mode = 2
Address = {HEX @}
Type = 5
[Network424@Wireless_ExchangeBytes_2]
[Network424@Wireless_ExchangeBytes_party_structs]
Mode = 2
Address = {HEX @}
Type = 4
[Network200@Wireless_ExchangeBytes_3]
[Network200@Wireless_ExchangeBytes_patch_lists]
Mode = 2
Address = {HEX @}
Type = 4

View File

@ -86,17 +86,17 @@ Mode = 1
Address = {HEX @+1}
Fixcode = {PATCH +1}
[Network17@Wireless_ExchangeBytes_1_unknown_Type5]
[Network17@Wireless_ExchangeBytes_RNG_state_unknown_Type5]
Mode = 2
Address = {HEX @}
Type = 5
[Network424@Wireless_ExchangeBytes_2]
[Network424@Wireless_ExchangeBytes_party_structs]
Mode = 2
Address = {HEX @}
Type = 4
[Network200@Wireless_ExchangeBytes_3]
[Network200@Wireless_ExchangeBytes_patch_lists]
Mode = 2
Address = {HEX @}
Type = 4