summaryrefslogtreecommitdiff
path: root/engine/link
diff options
context:
space:
mode:
authorentrpntr <12521136+entrpntr@users.noreply.github.com>2020-05-19 19:14:32 -0400
committerGitHub <noreply@github.com>2020-05-19 19:14:32 -0400
commitcf106d4545d6ecb08ad7434efa38ec61a38dbcb1 (patch)
tree59b746a1dd8190c0f35c31670419703e9c8b39f4 /engine/link
parent8a924f1f783572ff395f617f99546b4c949c8b04 (diff)
parent1fca66421ad18d7dc979d4871caf653febd9fa20 (diff)
Merge pull request #32 from libjet/bank10
Disassemble bank $10
Diffstat (limited to 'engine/link')
-rw-r--r--engine/link/link.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/engine/link/link.asm b/engine/link/link.asm
index 5f88a087..11657f4e 100644
--- a/engine/link/link.asm
+++ b/engine/link/link.asm
@@ -82,9 +82,9 @@ Gen2ToGen1LinkComms:
call Serial_ExchangeBytes
ld a, SERIAL_NO_DATA_BYTE
ld [de], a
- ld hl, wc508
+ ld hl, wLink_c508
ld de, wTrademons
- ld bc, wTrademons - wc508
+ ld bc, wTrademons - wLink_c508
call Serial_ExchangeBytes
xor a
ldh [rIF], a
@@ -226,9 +226,9 @@ Gen2ToGen2LinkComms:
call Serial_ExchangeBytes
ld a, SERIAL_NO_DATA_BYTE
ld [de], a
- ld hl, wc508
+ ld hl, wLink_c508
ld de, wTrademons
- ld bc, wTrademons - wc508
+ ld bc, wTrademons - wLink_c508
call Serial_ExchangeBytes
ld a, [wLinkMode]
cp LINK_TRADECENTER
@@ -514,7 +514,7 @@ FixDataForLinkTransfer:
ld [hli], a
dec b
jr nz, .loop2
- ld hl, wc508
+ ld hl, wLink_c508
ld a, SERIAL_PREAMBLE_BYTE
ld [hli], a
ld [hli], a