summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--asm/macros/event.s15
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