Improved RemoveAllItem
This commit is contained in:
parent
7f5ecd8d0f
commit
7869cb4137
1 changed files with 1 additions and 1 deletions
|
@ -2476,6 +2476,6 @@ void ScriptSetDoubleBattleFlag(struct ScriptContext *ctx)
|
|||
|
||||
void RemoveAllItem(struct ScriptContext *ctx)
|
||||
{
|
||||
u16 itemId = VarGet(ScriptReadHalfword(ctx));
|
||||
u32 itemId = VarGet(ScriptReadHalfword(ctx));
|
||||
RemoveBagItem(itemId, CountTotalItemQuantityInBag(itemId));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue