summaryrefslogtreecommitdiff
path: root/asm
diff options
context:
space:
mode:
authorDiegoisawesome <Diegoisawesome@users.noreply.github.com>2017-10-20 00:24:06 -0500
committerGitHub <noreply@github.com>2017-10-20 00:24:06 -0500
commitae5aa3c4dfd81fc25e5abeef1b915bb2da68b8d1 (patch)
tree65fffe2899c0e3fa8dbfbff18b29b7f3bd44aa6c /asm
parentbc82b539163636d37159aef9e92934e2cba4fb9a (diff)
parent70eaf5d1bec20b9b965e4904cffad2a012a5d7ec (diff)
Merge pull request #86 from PikalaxALT/special_ptr_table
Decompile special pointers
Diffstat (limited to 'asm')
-rw-r--r--asm/macros/event.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/asm/macros/event.s b/asm/macros/event.s
index ee9c42c97..b5fefb925 100644
--- a/asm/macros/event.s
+++ b/asm/macros/event.s
@@ -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).