Made Techno Blast's animation change depending on the Drive held
This commit is contained in:
parent
e05b5fc8a3
commit
49ca76f880
1 changed files with 4 additions and 3 deletions
|
@ -5001,8 +5001,9 @@ void AnimTask_PurpleFlamesOnTarget(u8 taskId)
|
||||||
|
|
||||||
void AnimTask_TechnoBlast(u8 taskId)
|
void AnimTask_TechnoBlast(u8 taskId)
|
||||||
{
|
{
|
||||||
//gBattleAnimArgs[0] = gItems[GetBattlerPartyData(gBattleAnimAttacker).item].holdEffectParam;
|
if (ItemId_GetHoldEffect(gBattleMons[gBattleAnimAttacker].item) == HOLD_EFFECT_DRIVE)
|
||||||
gBattleAnimArgs[0] = ItemId_GetHoldEffectParam(gBattleMons[gBattleAnimAttacker].item);
|
gBattleAnimArgs[0] = ItemId_GetSecondaryId(gBattleMons[gBattleAnimAttacker].item);
|
||||||
|
else
|
||||||
|
gBattleAnimArgs[0] = 0;
|
||||||
DestroyAnimVisualTask(taskId);
|
DestroyAnimVisualTask(taskId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue