diff options
Diffstat (limited to 'engine/events/misc_scripts.asm')
-rw-r--r-- | engine/events/misc_scripts.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/events/misc_scripts.asm b/engine/events/misc_scripts.asm index e2ea5439a..653a9eb35 100644 --- a/engine/events/misc_scripts.asm +++ b/engine/events/misc_scripts.asm @@ -40,14 +40,14 @@ FindItemInBallScript:: .TryReceiveItem: xor a ld [wScriptVar], a - ld a, [wEngineBuffer1] + ld a, [wItemBallItemID] ld [wNamedObjectIndexBuffer], a call GetItemName ld hl, wStringBuffer3 call CopyName2 - ld a, [wEngineBuffer1] + ld a, [wItemBallItemID] ld [wCurItem], a - ld a, [wCurFruit] + ld a, [wItemBallQuantity] ld [wItemQuantityChangeBuffer], a ld hl, wNumItems call ReceiveItem |