summaryrefslogtreecommitdiff
path: root/items
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2015-10-04 14:14:51 -0400
committerPikalaxALT <PikalaxALT@gmail.com>2015-10-04 14:14:51 -0400
commit2770cfc354b883f0e3f7e632374051ed9b5e936a (patch)
tree85706da5f60a75f4a1aa8a12aa1b77638a538867 /items
parent726c4bc1d61ed8ac1975de12f30d34135a624d05 (diff)
soft reset
Diffstat (limited to 'items')
-rw-r--r--items/item_effects.asm14
1 files changed, 7 insertions, 7 deletions
diff --git a/items/item_effects.asm b/items/item_effects.asm
index 6ad0d8947..4978a54a1 100644
--- a/items/item_effects.asm
+++ b/items/item_effects.asm
@@ -658,27 +658,27 @@ endr
ld b, $0
callba Function116c1
- ld a, $1
+ ld a, BANK(sBoxMonNicknames)
call GetSRAMBank
ld hl, wd050
- ld de, $b082
- ld bc, $000b
+ ld de, sBoxMonNicknames
+ ld bc, PKMN_NAME_LENGTH
call CopyBytes
- ld hl, $b082
+ ld hl, sBoxMonNicknames
ld de, StringBuffer1
call InitName
call CloseSRAM
.asm_ebaf
- ld a, $1
+ ld a, BANK(sBoxMonNicknames)
call GetSRAMBank
- ld hl, $b082
+ ld hl, sBoxMonNicknames
ld de, wd050
- ld bc, $000b
+ ld bc, PKMN_NAME_LENGTH
call CopyBytes
call CloseSRAM