mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 11:37:40 +01:00
port def_special
This commit is contained in:
parent
7cf9693551
commit
70eaf5d1be
@ -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.
|
@ 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
|
.macro special function
|
||||||
.byte 0x25
|
.byte 0x25
|
||||||
.2byte \function
|
.2byte SPECIAL_\function
|
||||||
.endm
|
.endm
|
||||||
|
|
||||||
@ Calls a special function. That function's output (if any) will be written to the variable you specify.
|
@ Calls a special function. That function's output (if any) will be written to the variable you specify.
|
||||||
.macro specialval output, function
|
.macro specialval output, function
|
||||||
.byte 0x26
|
.byte 0x26
|
||||||
.2byte \output
|
.2byte \output
|
||||||
.2byte \function
|
.2byte SPECIAL_\function
|
||||||
.endm
|
.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).
|
@ 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).
|
||||||
|
1064
data/specials.inc
1064
data/specials.inc
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user