battle controller opponent is done

This commit is contained in:
DizzyEggg committed 2017-10-26 23:12:48 +02:00
1 parent fa36e23683
commit 1506184465
19 files changed
+649 -1493

No files matched your search

+1 -1
View File
@@ -941,7 +941,7 @@ static bool8 ShouldUseItem(void)
if (shouldUse)
{
EmitTwoReturnValues(1, ACTION_USE_ITEM, 0);
*(gBattleStruct->field_C0 + (gActiveBank / 2) * 2) = item;
*(gBattleStruct->chosenItem + (gActiveBank / 2) * 2) = item;
gBattleResources->battleHistory->trainerItems[i] = 0;
return shouldUse;
}