Improved RemoveAllItem

This commit is contained in:
pkmnsnfrn 2024-08-11 19:31:52 -07:00
parent 7f5ecd8d0f
commit 7869cb4137

View file

@ -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));
}