add check for Gorilla Tactics when resetting choicedMove from knock off (#2854)
This commit is contained in:
commit
dc63d096f2
1 changed files with 2 additions and 1 deletions
|
@ -5342,7 +5342,8 @@ static bool32 TryKnockOffBattleScript(u32 battlerDef)
|
|||
|
||||
gLastUsedItem = gBattleMons[battlerDef].item;
|
||||
gBattleMons[battlerDef].item = 0;
|
||||
gBattleStruct->choicedMove[battlerDef] = 0;
|
||||
if (gBattleMons[battlerDef].ability != ABILITY_GORILLA_TACTICS)
|
||||
gBattleStruct->choicedMove[battlerDef] = 0;
|
||||
gWishFutureKnock.knockedOffMons[side] |= gBitTable[gBattlerPartyIndexes[battlerDef]];
|
||||
CheckSetUnburden(battlerDef);
|
||||
|
||||
|
|
Loading…
Reference in a new issue