diff options
author | Rangi <35663410+Rangi42@users.noreply.github.com> | 2018-07-29 19:56:54 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-29 19:56:54 -0400 |
commit | 98e670f3637b5f845a91423ee2d624d2f1e331a6 (patch) | |
tree | 20bacd2c3cd766eedddd636de59a99af1d662866 /engine/overworld/scripting.asm | |
parent | 2ec900d96c3b6020be0816151b9ad606c04114b5 (diff) | |
parent | e346cc7b4152578106f7708363b41d076a3e8d52 (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.asm | 6 |
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 |