summaryrefslogtreecommitdiff
path: root/engine/pokemon/switchpartymons.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2021-03-17 16:16:02 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2021-03-17 16:38:21 -0400
commit4522162d4578ab40a071efec9e1fa28c2756e596 (patch)
tree3f04ac12fac11d6aa0782cc72acbe358213845a4 /engine/pokemon/switchpartymons.asm
parent6c8f8609cb0d8dce34c6f8125267edfa11bbb3f1 (diff)
Consistent labels for each nickname in RAM
Diffstat (limited to 'engine/pokemon/switchpartymons.asm')
-rw-r--r--engine/pokemon/switchpartymons.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/pokemon/switchpartymons.asm b/engine/pokemon/switchpartymons.asm
index 1ec3cf698..b6c152d7e 100644
--- a/engine/pokemon/switchpartymons.asm
+++ b/engine/pokemon/switchpartymons.asm
@@ -81,12 +81,12 @@ _SwitchPartyMons:
ld bc, PARTYMON_STRUCT_LENGTH
call CopyBytes
ld a, [wSwitchMonTo]
- ld hl, wPartyMonOT
+ ld hl, wPartyMonOTs
call SkipNames
push hl
call .CopyNameToSwitchMonBuffer
ld a, [wSwitchMonFrom]
- ld hl, wPartyMonOT
+ ld hl, wPartyMonOTs
call SkipNames
pop de
push hl