Removed BattleScript_FlinchPrevention
Also reverted a nonsensical change in SetMoveEffect's case MOVE_EFFECT_FLINCH.
This commit is contained in:
parent
4d773ef40c
commit
8726107d42
3 changed files with 1 additions and 10 deletions
|
@ -7056,14 +7056,6 @@ BattleScript_ObliviousPreventsAttraction::
|
||||||
waitmessage 0x40
|
waitmessage 0x40
|
||||||
goto BattleScript_MoveEnd
|
goto BattleScript_MoveEnd
|
||||||
|
|
||||||
BattleScript_FlinchPrevention::
|
|
||||||
pause 0x20
|
|
||||||
copybyte gBattlerAbility, gBattlerTarget
|
|
||||||
call BattleScript_AbilityPopUp
|
|
||||||
printstring STRINGID_PKMNSXPREVENTSFLINCHING
|
|
||||||
waitmessage 0x40
|
|
||||||
goto BattleScript_MoveEnd
|
|
||||||
|
|
||||||
BattleScript_OwnTempoPrevents::
|
BattleScript_OwnTempoPrevents::
|
||||||
pause 0x20
|
pause 0x20
|
||||||
call BattleScript_AbilityPopUp
|
call BattleScript_AbilityPopUp
|
||||||
|
|
|
@ -166,7 +166,6 @@ extern const u8 BattleScript_BRNPrevention[];
|
||||||
extern const u8 BattleScript_PRLZPrevention[];
|
extern const u8 BattleScript_PRLZPrevention[];
|
||||||
extern const u8 BattleScript_PSNPrevention[];
|
extern const u8 BattleScript_PSNPrevention[];
|
||||||
extern const u8 BattleScript_ObliviousPreventsAttraction[];
|
extern const u8 BattleScript_ObliviousPreventsAttraction[];
|
||||||
extern const u8 BattleScript_FlinchPrevention[];
|
|
||||||
extern const u8 BattleScript_OwnTempoPrevents[];
|
extern const u8 BattleScript_OwnTempoPrevents[];
|
||||||
extern const u8 BattleScript_SoundproofProtected[];
|
extern const u8 BattleScript_SoundproofProtected[];
|
||||||
extern const u8 BattleScript_AbilityNoSpecificStatLoss[];
|
extern const u8 BattleScript_AbilityNoSpecificStatLoss[];
|
||||||
|
|
|
@ -2739,7 +2739,7 @@ void SetMoveEffect(bool32 primary, u32 certain)
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case MOVE_EFFECT_FLINCH:
|
case MOVE_EFFECT_FLINCH:
|
||||||
if (gBattleMons[gEffectBattler].ability == ABILITY_INNER_FOCUS)
|
if (GetBattlerAbility(gEffectBattler) == ABILITY_INNER_FOCUS)
|
||||||
{
|
{
|
||||||
gBattlescriptCurrInstr++;
|
gBattlescriptCurrInstr++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue