aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/NameRatersHouse.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/NameRatersHouse.asm')
-rw-r--r--scripts/NameRatersHouse.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/NameRatersHouse.asm b/scripts/NameRatersHouse.asm
index 61b10a3e..b1e3bf95 100644
--- a/scripts/NameRatersHouse.asm
+++ b/scripts/NameRatersHouse.asm
@@ -19,7 +19,7 @@ NameRatersHouseCheckMonOTScript:
call .check_match_loop
jr c, .no_match
ld hl, wPartyMon1OTID
- ld bc, wPartyMon2 - wPartyMon1
+ ld bc, PARTYMON_STRUCT_LENGTH
ld a, [wWhichPokemon]
call AddNTimes
ld de, wPlayerID