decompile pokemon_item_effect

This commit is contained in:
DizzyEggg
2018-02-09 18:46:00 +01:00
parent 9e7696f25a
commit 1a1bad3129
10 changed files with 2196 additions and 3645 deletions
+1 -1
View File
@@ -6940,7 +6940,7 @@ static void atk74_hpthresholds2(void)
static void atk75_useitemonopponent(void)
{
gBankInMenu = gBattlerAttacker;
ExecuteTableBasedItemEffect(&gEnemyParty[gBattlerPartyIndexes[gBattlerAttacker]], gLastUsedItem, gBattlerPartyIndexes[gBattlerAttacker], 0, 1);
PokemonUseItemEffects(&gEnemyParty[gBattlerPartyIndexes[gBattlerAttacker]], gLastUsedItem, gBattlerPartyIndexes[gBattlerAttacker], 0, 1);
gBattlescriptCurrInstr += 1;
}