diff options
author | Bryan Bishop <kanzure@gmail.com> | 2013-09-09 19:51:29 -0700 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2013-09-09 19:51:29 -0700 |
commit | 0d6efda9bb3aa99cc9d28b9b9e7edaae121b7d75 (patch) | |
tree | e804b9ed15832481d632904f42355743d9232515 /engine/scripting.asm | |
parent | 6d7043c0c65161ad8ee97fa66b94beba86761d25 (diff) | |
parent | 84a9b3907b9db08ee38e873554d8a6b4ac1b72b4 (diff) |
Merge pull request #198 from yenatch/split-predefs-specials-stds
decouple home/ from engine/
Diffstat (limited to 'engine/scripting.asm')
-rw-r--r-- | engine/scripting.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/scripting.asm b/engine/scripting.asm index e8921a265..12fd14283 100644 --- a/engine/scripting.asm +++ b/engine/scripting.asm @@ -539,7 +539,7 @@ Script_verbosegiveitem2: ; 0x96f8e ld a, [de] ld [$d10c], a ld hl, $d892 - call Function2f66 + call ReceiveItem ld a, $1 jr c, .asm_96fb0 ; 0x96fad $1 xor a @@ -2320,7 +2320,7 @@ Script_giveitem: ; 0x977ca call GetScriptByte ld [$d10c], a ld hl, $d892 - call Function2f66 + call ReceiveItem jr nc, .asm_977eb ; 0x977e3 $6 ld a, $1 ld [$c2dd], a @@ -2346,7 +2346,7 @@ Script_takeitem: ; 0x977f0 ld a, $ff ld [$d107], a ld hl, $d892 - call Function2f53 + call TossItem ret nc ld a, $1 ld [$c2dd], a @@ -2363,7 +2363,7 @@ Script_checkitem: ; 0x97812 call GetScriptByte ld [$d106], a ld hl, $d892 - call PickUpItem + call CheckItem ret nc ld a, $1 ld [$c2dd], a |