diff options
author | yenatch <yenatch@gmail.com> | 2016-06-16 16:04:15 -0400 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2016-06-16 16:04:15 -0400 |
commit | 9d8d999973a627b319413e33344103913b630499 (patch) | |
tree | 0bcff426d7109df9ae9bd36c69bf065e5acc7b07 | |
parent | e94cd4803090ce275fb2b489d7e4cc6ade0e3327 (diff) |
Add msgbox, giveitem, givedecoration.
-rw-r--r-- | asm/macros/event.s | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/asm/macros/event.s b/asm/macros/event.s index c0152b7c5..d29e72e97 100644 --- a/asm/macros/event.s +++ b/asm/macros/event.s @@ -1487,3 +1487,18 @@ jumpeq \dest .endm + .macro msgbox text, type=4 + loadptr 0, \text + callstd \type + .endm + + .macro giveitem item, amount=1, function=0 + setorcopyvar 0x8000, \item + setorcopyvar 0x8001, \amount + callstd \function + .endm + + .macro givedecoration decoration + setorcopyvar 0x8000, \decoration + callstd 7 + .endm |