Split finditem_std from giveitem_std

This commit is contained in:
GriffinR
2019-12-12 02:35:37 -05:00
committed by huderlem
parent 75b0c9d7a9
commit 6967caefb2
4 changed files with 184 additions and 178 deletions

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