diff options
author | Mr Wint <MrWint42@gmail.com> | 2013-10-02 03:55:40 +0200 |
---|---|---|
committer | Mr Wint <MrWint42@gmail.com> | 2013-10-02 03:55:40 +0200 |
commit | c5ff1606f0d20175ae24ae2bbd61a4255e050d48 (patch) | |
tree | 51282a0a369669af26b17388a8b575944c626595 /engine/scripting.asm | |
parent | 181840cf434bd70cd8ec8f8c9770c81a5bf99ea5 (diff) |
* last callab/callba macros
Diffstat (limited to 'engine/scripting.asm')
-rw-r--r-- | engine/scripting.asm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engine/scripting.asm b/engine/scripting.asm index ef97dfad1..951d55383 100644 --- a/engine/scripting.asm +++ b/engine/scripting.asm @@ -201,7 +201,7 @@ Script_3callasm: ; 0x96e17 call GetScriptByte ld h, a ld a, b - rst $8 + rst FarCall ret ; 0x96e26 @@ -233,7 +233,7 @@ Script_2ptcallasm: ; 0x96e35 ld h, [hl] ld l, a ld a, b - rst $8 + rst FarCall ret ; 0x96e45 @@ -435,7 +435,7 @@ Script_interpretmenu2: ; 0x96f30 ld a, [ScriptBank] ld hl, $1d81 - rst $8 + rst FarCall ld a, [$cfa9] jr nc, .asm_96f3d ; 0x96f3a $1 xor a @@ -449,7 +449,7 @@ Script_interpretmenu: ; 0x96f41 ld a, [ScriptBank] ld hl, $202a - rst $8 + rst FarCall ld a, [$cf88] jr nc, .asm_96f4e ; 0x96f4b $1 xor a @@ -2200,7 +2200,7 @@ Script_stringtotext: ; 0x9777d ld d, a ld a, [ScriptBank] ld hl, $30d6 - rst $8 + rst FarCall ld de, StringBuffer2 jp Unknown_976c0 ; 0x97792 |