summaryrefslogtreecommitdiff
path: root/items
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2015-10-04 14:39:27 -0400
committeryenatch <yenatch@gmail.com>2015-10-04 14:39:27 -0400
commit7176eff7aafda5378305a593c459d158ac27601f (patch)
tree85706da5f60a75f4a1aa8a12aa1b77638a538867 /items
parent2e74d969f700f7eda40a84a75dfe8b4183d09683 (diff)
parent2770cfc354b883f0e3f7e632374051ed9b5e936a (diff)
Merge pull request #311 from PikalaxALT/master
Bank 4 time functions moved out of main.asm
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