aboutsummaryrefslogtreecommitdiffstats
path: root/engine/overworld/item.asm
diff options
context:
space:
mode:
authorDaniel Harding <corrnondacqb@yahoo.com>2015-07-18 12:29:05 -0500
committerDaniel Harding <corrnondacqb@yahoo.com>2015-07-18 12:29:05 -0500
commit54c1893d579cdf6853c6a64953bae281a6075fe3 (patch)
tree11717604336caa83ddcdb1bd8b1c765d54cf708b /engine/overworld/item.asm
parentClean up map connections (diff)
parentfix variable naming (diff)
downloadpokeyellow-54c1893d579cdf6853c6a64953bae281a6075fe3.tar.gz
pokeyellow-54c1893d579cdf6853c6a64953bae281a6075fe3.tar.xz
pokeyellow-54c1893d579cdf6853c6a64953bae281a6075fe3.zip
Merge pull request #104 from YamaArashi/master
fix variable naming
Diffstat (limited to 'engine/overworld/item.asm')
-rw-r--r--engine/overworld/item.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/overworld/item.asm b/engine/overworld/item.asm
index b00405bf..eb6d743a 100644
--- a/engine/overworld/item.asm
+++ b/engine/overworld/item.asm
@@ -1,7 +1,7 @@
-PickupItem:
+PickUpItem:
call EnableAutoTextBoxDrawing
- ld a, [H_DOWNARROWBLINKCNT2]
+ ld a, [hSpriteIndexOrTextID]
ld b, a
ld hl, W_MISSABLEOBJECTLIST
.missableObjectsListLoop
@@ -18,7 +18,7 @@ PickupItem:
ld [$ffdb], a
ld hl, W_MAPSPRITEEXTRADATA
- ld a, [H_DOWNARROWBLINKCNT2]
+ ld a, [hSpriteIndexOrTextID]
dec a
add a
ld d, 0