shithub: pokered

Download patch

ref: 610ec0fd2271defcc6ebda89b379455155fdb3ca
parent: 9cfae346587676e8f7b345a41b0b55734da2dd23
author: vulcandth <[email protected]>
date: Wed Jun 22 15:15:58 EDT 2022

VC ExchangeBytes Aliases (#363)

Co-authored-by: aaaaaa123456789 <[email protected]>

--- a/engine/link/cable_club.asm
+++ b/engine/link/cable_club.asm
@@ -124,7 +124,7 @@
 	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
@@ -131,7 +131,7 @@
 	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
@@ -138,7 +138,7 @@
 	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
--- a/vc/pokeblue.patch.template
+++ b/vc/pokeblue.patch.template
@@ -81,17 +81,17 @@
 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
--- a/vc/pokered.patch.template
+++ b/vc/pokered.patch.template
@@ -86,17 +86,17 @@
 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