giveitemfanfaremsg

This commit is contained in:
PikalaxALT
2019-05-16 08:53:17 -04:00
parent 4f03759204
commit d4710d9ab8
39 changed files with 50 additions and 210 deletions
+8
View File
@@ -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