From d3bdb249af726961329c223f68e67b808b64739a Mon Sep 17 00:00:00 2001 From: vulcandth Date: Wed, 22 Jun 2022 19:15:59 -0500 Subject: VC ExchangeBytes Aliases (#90) Co-authored-by: aaaaaa123456789 --- engine/link/cable_club.asm | 4 ++-- vc/pokeyellow.patch.template | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/engine/link/cable_club.asm b/engine/link/cable_club.asm index 6b646647..b5fab2ea 100644 --- a/engine/link/cable_club.asm +++ b/engine/link/cable_club.asm @@ -130,14 +130,14 @@ CableClub_DoBattleOrTradeAgain: ld hl, wSerialPlayerDataBlock ld de, wSerialEnemyDataBlock ld bc, $1a8 - vc_hook Wireless_ExchangeBytes_1 + 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_2 + vc_hook Wireless_ExchangeBytes_patch_lists call Serial_ExchangeBytes ld a, (1 << SERIAL) | (1 << TIMER) | (1 << VBLANK) ldh [rIE], a diff --git a/vc/pokeyellow.patch.template b/vc/pokeyellow.patch.template index 44214cd1..a55f8947 100644 --- a/vc/pokeyellow.patch.template +++ b/vc/pokeyellow.patch.template @@ -106,12 +106,12 @@ Mode = 1 Address = {HEX @+1} Fixcode = {PATCH +1} -[Network424@Wireless_ExchangeBytes_1] +[Network424@Wireless_ExchangeBytes_party_structs] Mode = 2 Address = {HEX @} Type = 4 -[Network200@Wireless_ExchangeBytes_2] +[Network200@Wireless_ExchangeBytes_patch_lists] Mode = 2 Address = {HEX @} Type = 4 -- cgit v1.3.1-sl0p