summaryrefslogtreecommitdiff
path: root/asm/macros
diff options
context:
space:
mode:
authorU-Maria-PC\Maria <throwawaygolem@gmail.com>2017-07-29 11:35:23 -0400
committerU-Maria-PC\Maria <throwawaygolem@gmail.com>2017-07-29 11:35:23 -0400
commite92408af0133974a769215a83500c965f8524724 (patch)
tree9f1556b72ebb1a9f1b7f288ba4b8d23471a46608 /asm/macros
parenta9da4340a3c91553d19afdcd07355c53d5157a3e (diff)
parent8b39cdac9adb52a6e6abd03314056ee5d6003a1b (diff)
Merge branch 'master' of https://github.com/pret/pokeruby
`:Q B A B:` r A r D D C D D r
Diffstat (limited to 'asm/macros')
-rw-r--r--asm/macros/event.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/asm/macros/event.inc b/asm/macros/event.inc
index e3caa0c4f..cd2927c66 100644
--- a/asm/macros/event.inc
+++ b/asm/macros/event.inc
@@ -241,14 +241,14 @@
@ Calls a special function; that is, a piece of ASM code designed for use by scripts and listed in a table of pointers.
.macro special function
.byte 0x25
- .2byte \function
+ .2byte SPECIAL_\function
.endm
@ Calls a special function. That function's output (if any) will be written to the variable you specify.
.macro specialval output, function
.byte 0x26
.2byte \output
- .2byte \function
+ .2byte SPECIAL_\function
.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).