mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-27 04:04:17 +01:00
BattleScript_DefiantActivates rename
This commit is contained in:
parent
865b771db7
commit
ef7cd3cdfe
@ -7925,7 +7925,7 @@ BattleScript_DrizzleActivates::
|
||||
call BattleScript_WeatherFormChanges
|
||||
end3
|
||||
|
||||
BattleScript_DefiantActivates::
|
||||
BattleScript_AbilityRaisesDefenderStat::
|
||||
pause B_WAIT_TIME_SHORT
|
||||
call BattleScript_AbilityPopUp
|
||||
statbuffchange 0, NULL
|
||||
|
@ -308,7 +308,7 @@ extern const u8 BattleScript_MistySurgeActivates[];
|
||||
extern const u8 BattleScript_ElectricSurgeActivates[];
|
||||
extern const u8 BattleScript_SpectralThiefSteal[];
|
||||
extern const u8 BattleScript_StatUpMsg[];
|
||||
extern const u8 BattleScript_DefiantActivates[];
|
||||
extern const u8 BattleScript_AbilityRaisesDefenderStat[];
|
||||
extern const u8 BattleScript_PowderMoveNoEffect[];
|
||||
extern const u8 BattleScript_GrassyTerrainHeals[];
|
||||
extern const u8 BattleScript_VCreateStatLoss[];
|
||||
|
@ -1575,7 +1575,7 @@ void PrepareStringBattle(u16 stringId, u8 battler)
|
||||
gBattleScripting.stickyWebStatDrop = 0;
|
||||
gBattlerAbility = gBattlerTarget;
|
||||
BattleScriptPushCursor();
|
||||
gBattlescriptCurrInstr = BattleScript_DefiantActivates;
|
||||
gBattlescriptCurrInstr = BattleScript_AbilityRaisesDefenderStat;
|
||||
if (targetAbility == ABILITY_DEFIANT)
|
||||
SET_STATCHANGER(STAT_ATK, 2, FALSE);
|
||||
else
|
||||
@ -1587,7 +1587,7 @@ void PrepareStringBattle(u16 stringId, u8 battler)
|
||||
{
|
||||
gBattlerAbility = gBattlerTarget;
|
||||
BattleScriptPushCursor();
|
||||
gBattlescriptCurrInstr = BattleScript_DefiantActivates;
|
||||
gBattlescriptCurrInstr = BattleScript_AbilityRaisesDefenderStat;
|
||||
SET_STATCHANGER(STAT_SPEED, 1, FALSE);
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user