diff options
author | YamaArashi <shadow962@live.com> | 2015-07-18 08:17:29 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2015-07-18 08:17:46 -0700 |
commit | fc9af362ae65d24c66b39ea7759637cc9c1f9b0a (patch) | |
tree | 37074f79564b1e47b109566dfd9c3c454a4cc226 /engine/overworld/item.asm | |
parent | b85d7c65f35e93534a871ed34b1950daf59ab189 (diff) |
fix variable naming
Diffstat (limited to 'engine/overworld/item.asm')
-rw-r--r-- | engine/overworld/item.asm | 6 |
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 |