summaryrefslogtreecommitdiff
path: root/engine/items
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2015-08-14 00:36:06 -0700
committerYamaArashi <shadow962@live.com>2015-08-14 00:36:06 -0700
commit599a6aeaaf81e7174577c782f3b3ba113a4a4c39 (patch)
treed3f31cf0c4df4187d937d44f61c3ae81dce29d48 /engine/items
parentf6d618090aa689540056a13fb74125d83879347f (diff)
named battle and learn move variables
Diffstat (limited to 'engine/items')
-rwxr-xr-xengine/items/items.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/items/items.asm b/engine/items/items.asm
index 1a342d97..f0666587 100755
--- a/engine/items/items.asm
+++ b/engine/items/items.asm
@@ -364,7 +364,7 @@ ItemUseBall: ; d687 (3:5687)
jr .next16
.next15
set Transformed,[hl]
- ld hl,wcceb
+ ld hl,wTransformedEnemyMonOriginalDVs
ld a,[wEnemyMonDVs]
ld [hli],a
ld a,[wEnemyMonDVs + 1]
@@ -2105,16 +2105,16 @@ ItemUseTMHM: ; e479 (3:6479)
push af
.chooseMon
ld hl,wcf4b
- ld de,wd036
+ ld de,wTempMoveNameBuffer
ld bc,14
- call CopyData
+ call CopyData ; save the move name because DisplayPartyMenu will overwrite it
ld a,$ff
ld [wUpdateSpritesEnabled],a
ld a,TMHM_PARTY_MENU
ld [wPartyMenuTypeOrMessageID],a
call DisplayPartyMenu
push af
- ld hl,wd036
+ ld hl,wTempMoveNameBuffer
ld de,wcf4b
ld bc,14
call CopyData