commit
52dff039b9
1 changed files with 2 additions and 1 deletions
|
@ -4020,7 +4020,8 @@ static void HandleTurnActionSelectionState(void)
|
|||
{
|
||||
BtlController_EmitChoosePokemon(BUFFER_A, PARTY_ACTION_CANT_SWITCH, PARTY_SIZE, ABILITY_NONE, gBattleStruct->battlerPartyOrders[gActiveBattler]);
|
||||
}
|
||||
else if ((i = IsAbilityPreventingEscape(gActiveBattler)))
|
||||
else if ((i = IsAbilityPreventingEscape(gActiveBattler)
|
||||
&& ItemId_GetHoldEffect(gBattleMons[gActiveBattler].item) != HOLD_EFFECT_SHED_SHELL))
|
||||
{
|
||||
BtlController_EmitChoosePokemon(BUFFER_A, ((i - 1) << 4) | PARTY_ACTION_ABILITY_PREVENTS, PARTY_SIZE, gBattleMons[i - 1].ability, gBattleStruct->battlerPartyOrders[gActiveBattler]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue