summaryrefslogtreecommitdiff
path: root/engine/scripting.asm
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2014-08-16 19:43:42 -0500
committerBryan Bishop <kanzure@gmail.com>2014-08-16 19:43:42 -0500
commit4f018846fb35ca08cb2b0dc7a1f9159905c16777 (patch)
treee6dfa70a0676f08bfba0b1680c9784af4d090567 /engine/scripting.asm
parent85fe70ecba172bb48794b33a90c1733b35f2e0ed (diff)
parentb922fe72a19bb82d4f0c0ebaadf415e8dfcb7166 (diff)
Merge pull request #260 from yenatch/master
Dump the phone scripts.
Diffstat (limited to 'engine/scripting.asm')
-rw-r--r--engine/scripting.asm7
1 files changed, 6 insertions, 1 deletions
diff --git a/engine/scripting.asm b/engine/scripting.asm
index 313653439..7bfe21b54 100644
--- a/engine/scripting.asm
+++ b/engine/scripting.asm
@@ -293,7 +293,7 @@ Script_special: ; 0x96e26
ld e, a
call GetScriptByte
ld d, a
- callba Functionc01b
+ callba Special
ret
; 0x96e35
@@ -844,6 +844,7 @@ Script_fruittree: ; 0x970ee
Script_loadwilddata: ; 0x970fc
; script command 0xa0
; parameters:
+; flag (SingleByteParam)
; map_group (MapGroupParam)
; map_id (MapIdParam)
@@ -2201,6 +2202,7 @@ Script_name: ; 0x97716
; parameters:
; type (SingleByteParam)
; id (SingleByteParam)
+; memory (SingleByteParam)
call GetScriptByte
ld [$cf61], a
@@ -2215,6 +2217,9 @@ Unknown_9771c: ; 0x9771c
Script_trainerclassname: ; 0x9772b
; script command 0xa6
+; parameters:
+; id (SingleByteParam)
+; memory (SingleByteParam)
ld a, $7
ld [$cf61], a