summaryrefslogtreecommitdiff
path: root/engine/link
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2018-07-17 18:16:12 -0400
committerGitHub <noreply@github.com>2018-07-17 18:16:12 -0400
commit3e14c1f26e91b1fc1d18eed389518ae8454e938f (patch)
tree64db6e9f438a62248ef0f0fe8e874ca6cf94b720 /engine/link
parent89c2646ccaa2c9a0afb358c1d9738e9bb0d42c97 (diff)
parentb23f0b2bdaa993f17d8312bcde5f2b8a59ef9c90 (diff)
Merge pull request #539 from Rangi42/master
[RTM] Miscellaneous reorganization fixes
Diffstat (limited to 'engine/link')
-rw-r--r--engine/link/link.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/link/link.asm b/engine/link/link.asm
index d72abb0a5..e5f354f57 100644
--- a/engine/link/link.asm
+++ b/engine/link/link.asm
@@ -2039,7 +2039,7 @@ CheckTimeCapsuleCompatibility:
jr nc, .move_too_new
dec c
jr nz, .move_next
- ld de, wPartyMon2 - (wPartyMon1 + NUM_MOVES)
+ ld de, PARTYMON_STRUCT_LENGTH - NUM_MOVES
add hl, de
dec b
jr nz, .move_loop