summaryrefslogtreecommitdiff
path: root/engine/menus/naming_screen.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2018-07-29 19:56:54 -0400
committerGitHub <noreply@github.com>2018-07-29 19:56:54 -0400
commit98e670f3637b5f845a91423ee2d624d2f1e331a6 (patch)
tree20bacd2c3cd766eedddd636de59a99af1d662866 /engine/menus/naming_screen.asm
parent2ec900d96c3b6020be0816151b9ad606c04114b5 (diff)
parente346cc7b4152578106f7708363b41d076a3e8d52 (diff)
Merge pull request #548 from Rangi42/master
Add meaningful aliases for wd265
Diffstat (limited to 'engine/menus/naming_screen.asm')
-rw-r--r--engine/menus/naming_screen.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/menus/naming_screen.asm b/engine/menus/naming_screen.asm
index 8a8303067..aa8ccddf8 100644
--- a/engine/menus/naming_screen.asm
+++ b/engine/menus/naming_screen.asm
@@ -84,13 +84,13 @@ NamingScreen:
.Pokemon:
ld a, [wCurPartySpecies]
- ld [wd265], a
+ ld [wTempIconSpecies], a
ld hl, LoadMenuMonIcon
ld a, BANK(LoadMenuMonIcon)
- ld e, $1
- rst FarCall ; ; indirect jump to LoadMenuMonIcon (8e83f (23:683f))
+ ld e, MONICON_NAMINGSCREEN
+ rst FarCall
ld a, [wCurPartySpecies]
- ld [wd265], a
+ ld [wNamedObjectIndexBuffer], a
call GetPokemonName
hlcoord 5, 2
call PlaceString