diff options
author | PikalaxALT <PikalaxALT@users.noreply.github.com> | 2019-05-16 14:59:02 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-16 14:59:02 -0400 |
commit | fa52c7fc159a749cb97f4a78d7cf39781b55c62f (patch) | |
tree | 8a88de09420ad7f53eb2154ba49f04d3d93c4e0b /asm/macros | |
parent | 683c9edf348c8a7730e72eb4a21a934e158a58c0 (diff) | |
parent | 4156dd6b5789e613e4c25ec2cfe9867ec491f85a (diff) |
Merge pull request #56 from pret/document_map_vars
Document map vars, 1
Diffstat (limited to 'asm/macros')
-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..7ce50a5e1 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 + loadword 0, \msg + setorcopyvar 0x8000, \item + setorcopyvar 0x8001, \amount + setorcopyvar 0x8002, \fanfare + callstd 9 + .endm |