diff options
author | Diegoisawesome <Diegoisawesome@users.noreply.github.com> | 2018-01-21 14:38:09 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-21 14:38:09 -0600 |
commit | f4455bb2a522f4b99f17fb9ddc4e44d3ada011c9 (patch) | |
tree | 267b12b275a02bba2a7b58240e83f31beffb2ead /asm/macros | |
parent | 5feb270e97b135d3b9ffe6a3d51d151afa6631c8 (diff) | |
parent | fbf91fabcf6c3ce07c78a0962754f32994cced9e (diff) |
Merge pull request #180 from DizzyEggg/decompile_mystery_event_script
Decompile mystery event script
Diffstat (limited to 'asm/macros')
-rw-r--r-- | asm/macros/event.inc | 7 |
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 |