aboutsummaryrefslogtreecommitdiffstats
path: root/engine/items/tmhm.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/items/tmhm.asm')
-rw-r--r--engine/items/tmhm.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/items/tmhm.asm b/engine/items/tmhm.asm
index a11cd736..bac92f5d 100644
--- a/engine/items/tmhm.asm
+++ b/engine/items/tmhm.asm
@@ -2,7 +2,7 @@
CheckIfMoveIsKnown:
ld a, [wWhichPokemon]
ld hl, wPartyMon1Moves
- ld bc, wPartyMon2 - wPartyMon1
+ ld bc, PARTYMON_STRUCT_LENGTH
call AddNTimes
ld a, [wMoveNum]
ld b, a