diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-12-23 16:46:49 -0500 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-12-23 16:46:49 -0500 |
commit | 524f57703fb362dd9a131edb1eb5aebad5ffe633 (patch) | |
tree | f49e12f9e57b60128d6ea7b50116b66835874734 /engine/events/misc_scripts.asm | |
parent | b87c45afcd9fcd06be459f112b01e6035dc3f20b (diff) |
Rename some labels
- Remove "Buffer" suffix from some byte and word quantities
- Change "Ptr" to "Pointer"
Diffstat (limited to 'engine/events/misc_scripts.asm')
-rw-r--r-- | engine/events/misc_scripts.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/events/misc_scripts.asm b/engine/events/misc_scripts.asm index e9006332..24e4088e 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 |