summaryrefslogtreecommitdiff
path: root/asm/macros
diff options
context:
space:
mode:
Diffstat (limited to 'asm/macros')
-rw-r--r--asm/macros/event.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/asm/macros/event.inc b/asm/macros/event.inc
index 8879df208..7ce50a5e1 100644
--- a/asm/macros/event.inc
+++ b/asm/macros/event.inc
@@ -1435,10 +1435,10 @@
callstd \function
.endm
- .macro giveitemfanfaremsg msg, item, amount=1, fanfare=MUS_FANFA1, function=9
+ .macro giveitemfanfaremsg msg, item, amount=1, fanfare=MUS_FANFA1
loadword 0, \msg
setorcopyvar 0x8000, \item
setorcopyvar 0x8001, \amount
setorcopyvar 0x8002, \fanfare
- callstd \function
+ callstd 9
.endm