summaryrefslogtreecommitdiff
path: root/engine/overworld/scripting.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/overworld/scripting.asm
parent2ec900d96c3b6020be0816151b9ad606c04114b5 (diff)
parente346cc7b4152578106f7708363b41d076a3e8d52 (diff)
Merge pull request #548 from Rangi42/master
Add meaningful aliases for wd265
Diffstat (limited to 'engine/overworld/scripting.asm')
-rw-r--r--engine/overworld/scripting.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/overworld/scripting.asm b/engine/overworld/scripting.asm
index f8e702eb9..248ff9978 100644
--- a/engine/overworld/scripting.asm
+++ b/engine/overworld/scripting.asm
@@ -623,7 +623,7 @@ INCLUDE "data/items/pocket_names.asm"
CurItemName:
ld a, [wCurItem]
- ld [wd265], a
+ ld [wNamedObjectIndexBuffer], a
call GetItemName
ret
@@ -1863,7 +1863,7 @@ Script_pokenamemem:
jr nz, .gotit
ld a, [wScriptVar]
.gotit
- ld [wd265], a
+ ld [wNamedObjectIndexBuffer], a
call GetPokemonName
ld de, wStringBuffer1
@@ -1890,7 +1890,7 @@ Script_itemtotext:
jr nz, .ok
ld a, [wScriptVar]
.ok
- ld [wd265], a
+ ld [wNamedObjectIndexBuffer], a
call GetItemName
ld de, wStringBuffer1
jr ConvertMemToText