diff options
author | PikalaxALT <PikalaxALT@gmail.com> | 2015-11-01 18:13:31 -0500 |
---|---|---|
committer | PikalaxALT <PikalaxALT@gmail.com> | 2015-11-01 18:13:31 -0500 |
commit | 010b450834bd595b961582aea5e5771632510ef9 (patch) | |
tree | 7a13777e9b276b0472acf9301199e185c495652b /engine/scripting.asm | |
parent | 31c407bb3de7328f9e80f006052c23ffcfbbfe39 (diff) |
Prepare to merge
Diffstat (limited to 'engine/scripting.asm')
-rw-r--r-- | engine/scripting.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/scripting.asm b/engine/scripting.asm index a6b0b074c..c7c17b8d7 100644 --- a/engine/scripting.asm +++ b/engine/scripting.asm @@ -608,7 +608,7 @@ Script_verbosegiveitem2: ; 0x96f8e call GetScriptByte call GetVarAction ld a, [de] - ld [wd10c], a + ld [wItemQuantityChangeBuffer], a ld hl, NumItems call ReceiveItem ld a, 1 @@ -2344,7 +2344,7 @@ Script_giveitem: ; 0x977ca .ok ld [CurItem], a call GetScriptByte - ld [wd10c], a + ld [wItemQuantityChangeBuffer], a ld hl, NumItems call ReceiveItem jr nc, .full ; 0x977e3 $6 @@ -2368,7 +2368,7 @@ Script_takeitem: ; 0x977f0 call GetScriptByte ld [CurItem], a call GetScriptByte - ld [wd10c], a + ld [wItemQuantityChangeBuffer], a ld a, $ff ld [wd107], a ld hl, NumItems |