summaryrefslogtreecommitdiff
path: root/engine/link.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2018-03-19 11:36:14 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2018-03-19 11:36:14 -0400
commit0447ee0cf95d2defb9a202def65288aa5bf1410b (patch)
treedb0a67dcb406514756a94e2a3053b72e105b761e /engine/link.asm
parent12070ca50067d3abe36a730190f88ee43f2cace9 (diff)
Relabel some map-related WRAM
wMisc -> {wSurroundingTiles, wBoxPartialData, wLink_c608} wOverworldMap -> {wOverworldMapBlocks, wHallOfFamePokemonList}
Diffstat (limited to 'engine/link.asm')
-rwxr-xr-xengine/link.asm14
1 files changed, 7 insertions, 7 deletions
diff --git a/engine/link.asm b/engine/link.asm
index c693e6919..77c3a5d6b 100755
--- a/engine/link.asm
+++ b/engine/link.asm
@@ -84,9 +84,9 @@ Gen2ToGen1LinkComms: ; 2805d
call Serial_ExchangeBytes
ld a, SERIAL_NO_DATA_BYTE
ld [de], a
- ld hl, wMisc
- ld de, wPlayerTrademonSpecies
- ld bc, wPlayerTrademonSpecies - wMisc
+ ld hl, wLink_c608
+ ld de, wTrademons
+ ld bc, wTrademons - wLink_c608
call Serial_ExchangeBytes
xor a
ld [rIF], a
@@ -229,9 +229,9 @@ Gen2ToGen2LinkComms: ; 28177
call Serial_ExchangeBytes
ld a, SERIAL_NO_DATA_BYTE
ld [de], a
- ld hl, wMisc
- ld de, wPlayerTrademonSpecies
- ld bc, $c8
+ ld hl, wLink_c608
+ ld de, wTrademons
+ ld bc, wTrademons - wLink_c608
call Serial_ExchangeBytes
ld a, [wLinkMode]
cp LINK_TRADECENTER
@@ -581,7 +581,7 @@ FixDataForLinkTransfer: ; 28434
ld [hli], a
dec b
jr nz, .loop2
- ld hl, wMisc
+ ld hl, wLink_c608
ld a, SERIAL_PREAMBLE_BYTE
ld [hli], a
ld [hli], a