summaryrefslogtreecommitdiff
path: root/asm/macros/event.inc
diff options
context:
space:
mode:
Diffstat (limited to 'asm/macros/event.inc')
-rw-r--r--asm/macros/event.inc10
1 files changed, 8 insertions, 2 deletions
diff --git a/asm/macros/event.inc b/asm/macros/event.inc
index 9db57daf1..96971b583 100644
--- a/asm/macros/event.inc
+++ b/asm/macros/event.inc
@@ -1665,10 +1665,16 @@
callstd \type
.endm
- .macro giveitem_std item:req, amount=1, function=0
+ .macro giveitem_std item:req, amount=1
setorcopyvar VAR_0x8000, \item
setorcopyvar VAR_0x8001, \amount
- callstd \function
+ callstd STD_OBTAIN_ITEM
+ .endm
+
+ .macro finditem_std item:req, amount=1
+ setorcopyvar VAR_0x8000, \item
+ setorcopyvar VAR_0x8001, \amount
+ callstd STD_FIND_ITEM
.endm
.macro givedecoration_std decoration:req