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