summaryrefslogtreecommitdiff
path: root/scripting.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2013-05-03 15:40:45 -0400
committeryenatch <yenatch@gmail.com>2013-05-03 19:34:19 -0400
commitc539a96f7817fc234d600be2a98c9bc7ac3f3d6a (patch)
tree786df276f4671c9eeb2d606a8340e219ef7a0eb6 /scripting.asm
parent99fb8bcc635599e69429a1545488ef05e3bcc382 (diff)
fruit trees
Diffstat (limited to 'scripting.asm')
-rw-r--r--scripting.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripting.asm b/scripting.asm
index bd321487d..2875781f0 100644
--- a/scripting.asm
+++ b/scripting.asm
@@ -690,9 +690,9 @@ Script_fruittree: ; 0x970ee
; tree_id (SingleByteParam)
call GetScriptByte
- ld [$d03e], a
- ld b, $11
- ld hl, $4000
+ ld [CurFruitTree], a
+ ld b, BANK(FruitTreeScript)
+ ld hl, FruitTreeScript
jp ScriptJump
; 0x970fc