summaryrefslogtreecommitdiff
path: root/engine/scripting.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2014-04-12 15:45:40 -0400
committeryenatch <yenatch@gmail.com>2014-04-12 15:45:40 -0400
commitf66f4d51c78274e7aec80cf303a70fb97bdc8e3a (patch)
tree68ad5750f5091fd09f830d61030fec4a74521582 /engine/scripting.asm
parentd9c5c2c55ba1ae2a1697e90a58a52050317e6e6d (diff)
Replace static bank 0 calls in the event scripting engine.
Diffstat (limited to 'engine/scripting.asm')
-rw-r--r--engine/scripting.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/scripting.asm b/engine/scripting.asm
index 21feaf5d2..4886327ca 100644
--- a/engine/scripting.asm
+++ b/engine/scripting.asm
@@ -519,7 +519,7 @@ Script_interpretmenu2: ; 0x96f30
; script command 0x59
ld a, [ScriptBank]
- ld hl, $1d81
+ ld hl, Function1d81
rst FarCall
ld a, [$cfa9]
jr nc, .asm_96f3d ; 0x96f3a $1
@@ -533,7 +533,7 @@ Script_interpretmenu: ; 0x96f41
; script command 0x58
ld a, [ScriptBank]
- ld hl, $202a
+ ld hl, Function202a
rst FarCall
ld a, [$cf88]
jr nc, .asm_96f4e ; 0x96f4b $1
@@ -2284,7 +2284,7 @@ Script_stringtotext: ; 0x9777d
call GetScriptByte
ld d, a
ld a, [ScriptBank]
- ld hl, $30d6
+ ld hl, CopyName1
rst FarCall
ld de, StringBuffer2
jp Unknown_976c0