commit
0dca5a5230
1 changed files with 4 additions and 9 deletions
|
@ -3497,16 +3497,11 @@ void SetMoveEffect(bool32 primary, u32 certain)
|
||||||
gProtectStructs[gBattlerTarget].kingsShielded = FALSE;
|
gProtectStructs[gBattlerTarget].kingsShielded = FALSE;
|
||||||
gProtectStructs[gBattlerTarget].banefulBunkered = FALSE;
|
gProtectStructs[gBattlerTarget].banefulBunkered = FALSE;
|
||||||
gProtectStructs[gBattlerTarget].obstructed = FALSE;
|
gProtectStructs[gBattlerTarget].obstructed = FALSE;
|
||||||
if (gCurrentMove == MOVE_FEINT)
|
BattleScriptPush(gBattlescriptCurrInstr + 1);
|
||||||
{
|
if (gCurrentMove == MOVE_HYPERSPACE_FURY)
|
||||||
BattleScriptPush(gBattlescriptCurrInstr + 1);
|
|
||||||
gBattlescriptCurrInstr = BattleScript_MoveEffectFeint;
|
|
||||||
}
|
|
||||||
else if (gCurrentMove == MOVE_HYPERSPACE_FURY)
|
|
||||||
{
|
|
||||||
BattleScriptPush(gBattlescriptCurrInstr + 1);
|
|
||||||
gBattlescriptCurrInstr = BattleScript_HyperspaceFuryRemoveProtect;
|
gBattlescriptCurrInstr = BattleScript_HyperspaceFuryRemoveProtect;
|
||||||
}
|
else
|
||||||
|
gBattlescriptCurrInstr = BattleScript_MoveEffectFeint;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case MOVE_EFFECT_SPECTRAL_THIEF:
|
case MOVE_EFFECT_SPECTRAL_THIEF:
|
||||||
|
|
Loading…
Reference in a new issue