summaryrefslogtreecommitdiff
path: root/engine/events/npc_trade.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/events/npc_trade.asm')
-rw-r--r--engine/events/npc_trade.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/events/npc_trade.asm b/engine/events/npc_trade.asm
index b4393ebd..7f9b74ca 100644
--- a/engine/events/npc_trade.asm
+++ b/engine/events/npc_trade.asm
@@ -132,7 +132,7 @@ DoNPCTrade:
call GetTradeMonName
call CopyTradeName
- ld hl, wPartyMonOT
+ ld hl, wPartyMonOTs
ld bc, NAME_LENGTH
call Trade_GetAttributeOfCurrentPartymon
ld de, wPlayerTrademonOTName
@@ -167,7 +167,7 @@ DoNPCTrade:
callfar RemoveMonFromPartyOrBox
predef TryAddMonToParty
- ld e, NPCTRADE_NICK
+ ld e, NPCTRADE_NICKNAME
call GetTradeAttr
ld de, wOTTrademonNickname
call CopyTradeName
@@ -187,7 +187,7 @@ DoNPCTrade:
ld de, wOTTrademonSenderName
call CopyTradeName
- ld hl, wPartyMonOT
+ ld hl, wPartyMonOTs
ld bc, NAME_LENGTH
call Trade_GetAttributeOfLastPartymon
ld hl, wOTTrademonOTName