fix args to GetMonData

This commit is contained in:
ghoulslash 2022-05-13 20:32:03 -04:00
parent b5d98ec93e
commit 7dd6988b2b

View File

@ -6459,7 +6459,7 @@ void SetWildMonHeldItem(void)
for (i = 0; i < count; i++)
{
if (GetMonData(&gEnemyParty[i], MON_DATA_HELD_ITEM) != ITEM_NONE)
if (GetMonData(&gEnemyParty[i], MON_DATA_HELD_ITEM, NULL) != ITEM_NONE)
continue; // prevent ovewriting previously set item
rnd = Random() % 100;