summaryrefslogtreecommitdiff
path: root/engine/events/misc_scripts.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-12-23 16:29:30 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2020-12-23 16:29:30 -0500
commit99e66c25577e367d6c7ca75fea8b466b54c3317a (patch)
tree56183dddfd540a395086a7540060c374f9541723 /engine/events/misc_scripts.asm
parent1a054661ecac2d6075961e486213b6880c0afc4e (diff)
Rename some labels
- Remove "Buffer" suffix from some byte and word quantities - Change "Ptr" to "Pointer" Fixes #789
Diffstat (limited to 'engine/events/misc_scripts.asm')
-rw-r--r--engine/events/misc_scripts.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/events/misc_scripts.asm b/engine/events/misc_scripts.asm
index e90063327..24e4088e3 100644
--- a/engine/events/misc_scripts.asm
+++ b/engine/events/misc_scripts.asm
@@ -39,14 +39,14 @@ FindItemInBallScript::
xor a
ld [wScriptVar], a
ld a, [wItemBallItemID]
- ld [wNamedObjectIndexBuffer], a
+ ld [wNamedObjectIndex], a
call GetItemName
ld hl, wStringBuffer3
call CopyName2
ld a, [wItemBallItemID]
ld [wCurItem], a
ld a, [wItemBallQuantity]
- ld [wItemQuantityChangeBuffer], a
+ ld [wItemQuantityChange], a
ld hl, wNumItems
call ReceiveItem
ret nc