Skip to content

Commit

Permalink
VC ExchangeBytes Aliases (#363)
Browse files Browse the repository at this point in the history
Co-authored-by: aaaaaa123456789 <aaaaaa123456789@acidch.at>
  • Loading branch information
vulcandth and aaaaaa123456789 authored Jun 23, 2022
1 parent 9cfae34 commit 610ec0f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions engine/link/cable_club.asm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions vc/pokeblue.patch.template
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions vc/pokered.patch.template
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 610ec0f

Please sign in to comment.