summaryrefslogtreecommitdiff
path: root/macros/event.asm
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2015-02-13 14:38:23 -0600
committerBryan Bishop <kanzure@gmail.com>2015-02-13 14:38:23 -0600
commitd7bc1d12f23a6d800169b887592807cf92b4974a (patch)
tree0b8be61e8f894e0cd21c3794378b4c871d4f9717 /macros/event.asm
parentb22a3347939a040ca3dc85c60c1cf6313c984add (diff)
parent1480602df75b980e291a832ba3a485d123a53047 (diff)
Merge pull request #277 from yenatch/master
Start splitting code out of main.
Diffstat (limited to 'macros/event.asm')
-rw-r--r--macros/event.asm10
1 files changed, 9 insertions, 1 deletions
diff --git a/macros/event.asm b/macros/event.asm
index 82468c2a8..238f18f85 100644
--- a/macros/event.asm
+++ b/macros/event.asm
@@ -80,11 +80,19 @@ callasm: macro
dw \1
endm
+
special: macro
db $0f
- dw \1 ; predefined_script
+ dw (\1Special - SpecialsPointers) / 3
endm
+add_special: MACRO
+\1Special::
+ db BANK(\1)
+ dw \1
+ENDM
+
+
ptcallasm: macro
db $10
dw \1 ; asm