diff options
| author | vulcandth <vulcandth@gmail.com> | 2022-06-22 19:15:59 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-22 20:15:59 -0400 |
| commit | d3bdb249af726961329c223f68e67b808b64739a (patch) | |
| tree | 9118465c5f1181d1c39045def7557839e8a1c84a | |
| parent | Automatically upload .sym files to a 'symbols' branch (diff) | |
| download | pokeyellow-d3bdb249af726961329c223f68e67b808b64739a.tar.gz pokeyellow-d3bdb249af726961329c223f68e67b808b64739a.tar.xz pokeyellow-d3bdb249af726961329c223f68e67b808b64739a.zip | |
VC ExchangeBytes Aliases (#90)
Co-authored-by: aaaaaa123456789 <aaaaaa123456789@acidch.at>
| -rw-r--r-- | engine/link/cable_club.asm | 4 | ||||
| -rw-r--r-- | 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 |
