Split finditem_std from giveitem_std

This commit is contained in:
GriffinR authored and huderlem committed 2019-12-14 08:41:46 -06:00
1 parent 75b0c9d7a9
commit 6967caefb2
4 files changed
+184 -178

No files matched your search

+8 -2
View File
@@ -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