diff options
| author | PikalaxALT <pikalaxalt@gmail.com> | 2019-05-16 08:53:17 -0400 |
|---|---|---|
| committer | PikalaxALT <pikalaxalt@gmail.com> | 2019-05-16 08:53:17 -0400 |
| commit | d4710d9ab81ff29277ba244767c55652d58016a5 (patch) | |
| tree | 728517c42d7d1701b25ba5fe77502f2c0672d241 /asm | |
| parent | 4f037592040fd743ca0d11621976f1d915c7c48a (diff) | |
giveitemfanfaremsg
Diffstat (limited to 'asm')
| -rw-r--r-- | asm/macros/event.inc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/asm/macros/event.inc b/asm/macros/event.inc index 11ec30d74..8879df208 100644 --- a/asm/macros/event.inc +++ b/asm/macros/event.inc @@ -1434,3 +1434,11 @@ setorcopyvar 0x8001, \amount callstd \function .endm + + .macro giveitemfanfaremsg msg, item, amount=1, fanfare=MUS_FANFA1, function=9 + loadword 0, \msg + setorcopyvar 0x8000, \item + setorcopyvar 0x8001, \amount + setorcopyvar 0x8002, \fanfare + callstd \function + .endm |
