mirror of
https://github.com/pret/pokeyellow.git
synced 2024-11-23 22:09:53 +00:00
VC ExchangeBytes Aliases (#363)
Co-authored-by: aaaaaa123456789 <aaaaaa123456789@acidch.at>
This commit is contained in:
parent
9cfae34658
commit
610ec0fd22
@ -124,21 +124,21 @@ CableClub_DoBattleOrTradeAgain:
|
|||||||
ld hl, wSerialRandomNumberListBlock
|
ld hl, wSerialRandomNumberListBlock
|
||||||
ld de, wSerialOtherGameboyRandomNumberListBlock
|
ld de, wSerialOtherGameboyRandomNumberListBlock
|
||||||
ld bc, $11
|
ld bc, $11
|
||||||
vc_hook Wireless_ExchangeBytes_1_unknown_Type5
|
vc_hook Wireless_ExchangeBytes_RNG_state_unknown_Type5
|
||||||
call Serial_ExchangeBytes
|
call Serial_ExchangeBytes
|
||||||
ld a, SERIAL_NO_DATA_BYTE
|
ld a, SERIAL_NO_DATA_BYTE
|
||||||
ld [de], a
|
ld [de], a
|
||||||
ld hl, wSerialPlayerDataBlock
|
ld hl, wSerialPlayerDataBlock
|
||||||
ld de, wSerialEnemyDataBlock
|
ld de, wSerialEnemyDataBlock
|
||||||
ld bc, $1a8
|
ld bc, $1a8
|
||||||
vc_hook Wireless_ExchangeBytes_2
|
vc_hook Wireless_ExchangeBytes_party_structs
|
||||||
call Serial_ExchangeBytes
|
call Serial_ExchangeBytes
|
||||||
ld a, SERIAL_NO_DATA_BYTE
|
ld a, SERIAL_NO_DATA_BYTE
|
||||||
ld [de], a
|
ld [de], a
|
||||||
ld hl, wSerialPartyMonsPatchList
|
ld hl, wSerialPartyMonsPatchList
|
||||||
ld de, wSerialEnemyMonsPatchList
|
ld de, wSerialEnemyMonsPatchList
|
||||||
ld bc, $c8
|
ld bc, $c8
|
||||||
vc_hook Wireless_ExchangeBytes_3
|
vc_hook Wireless_ExchangeBytes_patch_lists
|
||||||
call Serial_ExchangeBytes
|
call Serial_ExchangeBytes
|
||||||
ld a, (1 << SERIAL) | (1 << TIMER) | (1 << VBLANK)
|
ld a, (1 << SERIAL) | (1 << TIMER) | (1 << VBLANK)
|
||||||
ldh [rIE], a
|
ldh [rIE], a
|
||||||
|
@ -81,17 +81,17 @@ Mode = 1
|
|||||||
Address = {HEX @+1}
|
Address = {HEX @+1}
|
||||||
Fixcode = {PATCH +1}
|
Fixcode = {PATCH +1}
|
||||||
|
|
||||||
[Network17@Wireless_ExchangeBytes_1_unknown_Type5]
|
[Network17@Wireless_ExchangeBytes_RNG_state_unknown_Type5]
|
||||||
Mode = 2
|
Mode = 2
|
||||||
Address = {HEX @}
|
Address = {HEX @}
|
||||||
Type = 5
|
Type = 5
|
||||||
|
|
||||||
[Network424@Wireless_ExchangeBytes_2]
|
[Network424@Wireless_ExchangeBytes_party_structs]
|
||||||
Mode = 2
|
Mode = 2
|
||||||
Address = {HEX @}
|
Address = {HEX @}
|
||||||
Type = 4
|
Type = 4
|
||||||
|
|
||||||
[Network200@Wireless_ExchangeBytes_3]
|
[Network200@Wireless_ExchangeBytes_patch_lists]
|
||||||
Mode = 2
|
Mode = 2
|
||||||
Address = {HEX @}
|
Address = {HEX @}
|
||||||
Type = 4
|
Type = 4
|
||||||
|
@ -86,17 +86,17 @@ Mode = 1
|
|||||||
Address = {HEX @+1}
|
Address = {HEX @+1}
|
||||||
Fixcode = {PATCH +1}
|
Fixcode = {PATCH +1}
|
||||||
|
|
||||||
[Network17@Wireless_ExchangeBytes_1_unknown_Type5]
|
[Network17@Wireless_ExchangeBytes_RNG_state_unknown_Type5]
|
||||||
Mode = 2
|
Mode = 2
|
||||||
Address = {HEX @}
|
Address = {HEX @}
|
||||||
Type = 5
|
Type = 5
|
||||||
|
|
||||||
[Network424@Wireless_ExchangeBytes_2]
|
[Network424@Wireless_ExchangeBytes_party_structs]
|
||||||
Mode = 2
|
Mode = 2
|
||||||
Address = {HEX @}
|
Address = {HEX @}
|
||||||
Type = 4
|
Type = 4
|
||||||
|
|
||||||
[Network200@Wireless_ExchangeBytes_3]
|
[Network200@Wireless_ExchangeBytes_patch_lists]
|
||||||
Mode = 2
|
Mode = 2
|
||||||
Address = {HEX @}
|
Address = {HEX @}
|
||||||
Type = 4
|
Type = 4
|
||||||
|
Loading…
Reference in New Issue
Block a user