summaryrefslogtreecommitdiff
path: root/asm/macros/event.inc
diff options
context:
space:
mode:
authorcamthesaxman <cameronghall@cox.net>2018-01-21 22:29:35 -0600
committercamthesaxman <cameronghall@cox.net>2018-01-21 22:29:35 -0600
commit663ecd00145da49fda7d2509d629d737ea633cd8 (patch)
treea4cfc7323151501d5603f1cd34e68a73f328434e /asm/macros/event.inc
parenta78b0636f50c012c3618d55a9b83f834319de6e0 (diff)
parentf57340b729d741acae17213c9c748738fcc1dcb3 (diff)
Merge branch 'master' of https://github.com/pret/pokeemerald into battle_refactor
Diffstat (limited to 'asm/macros/event.inc')
-rw-r--r--asm/macros/event.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/asm/macros/event.inc b/asm/macros/event.inc
index d7b4bca37..f2d14b945 100644
--- a/asm/macros/event.inc
+++ b/asm/macros/event.inc
@@ -262,6 +262,13 @@
.2byte \output
.2byte SPECIAL_\function
.endm
+
+ @ temporary solution
+ .macro specialvar_ output, functionId
+ .byte 0x26
+ .2byte \output
+ .2byte \functionId
+ .endm
@ Blocks script execution until a command or ASM code manually unblocks it. Generally used with specific commands and specials. If this command runs, and a subsequent command or piece of ASM does not unblock state, the script will remain blocked indefinitely (essentially a hang).
.macro waitstate