summaryrefslogtreecommitdiff
path: root/asm
diff options
context:
space:
mode:
authorDiegoisawesome <diego@domoreaweso.me>2017-10-24 00:11:26 -0500
committerDiegoisawesome <diego@domoreaweso.me>2017-10-24 00:11:26 -0500
commit17303d963ef3dd8887e28c561672a16dd1cd8bb9 (patch)
tree95d03e1df2da949635ec59abf3ae6a5f8347343c /asm
parent26f9776f6fa0d74b1e89688e9c618e65b917e7f8 (diff)
More prep
Diffstat (limited to 'asm')
-rw-r--r--asm/macros/event.inc7
1 files changed, 6 insertions, 1 deletions
diff --git a/asm/macros/event.inc b/asm/macros/event.inc
index 117629a89..c224861b0 100644
--- a/asm/macros/event.inc
+++ b/asm/macros/event.inc
@@ -1490,8 +1490,13 @@
goto_eq \dest
.endm
- .macro giveitem item, amount=1, function=0
+ .macro giveitem_std item, amount=1, function=0
setorcopyvar 0x8000, \item
setorcopyvar 0x8001, \amount
callstd \function
.endm
+
+ .macro givedecoration_std decoration
+ setorcopyvar 0x8000, \decoration
+ callstd 7
+ .endm