BattleScript_TargetAbilityStatRaiseOnSwitchin -> BattleScript_TargetAbilityStatRaiseOnSwitchIn

This commit is contained in:
LOuroboros 2020-12-05 02:43:29 -03:00
parent 9e8913c698
commit e2f4ca27b0
3 changed files with 4 additions and 4 deletions

View File

@ -7106,7 +7106,7 @@ BattleScript_AngryPointActivates::
waitmessage 0x40 waitmessage 0x40
return return
BattleScript_TargetAbilityStatRaiseOnSwitchin:: BattleScript_TargetAbilityStatRaiseOnSwitchIn::
call BattleScript_AbilityPopUp call BattleScript_AbilityPopUp
statbuffchange STAT_BUFF_NOT_PROTECT_AFFECTED | MOVE_EFFECT_CERTAIN, NULL statbuffchange STAT_BUFF_NOT_PROTECT_AFFECTED | MOVE_EFFECT_CERTAIN, NULL
setgraphicalstatchangevalues setgraphicalstatchangevalues

View File

@ -350,7 +350,7 @@ extern const u8 BattleScript_EmergencyExitWild[];
extern const u8 BattleScript_EmergencyExitWildNoPopUp[]; extern const u8 BattleScript_EmergencyExitWildNoPopUp[];
extern const u8 BattleScript_CheekPouchActivates[]; extern const u8 BattleScript_CheekPouchActivates[];
extern const u8 BattleScript_AnnounceAirLockCloudNine[]; extern const u8 BattleScript_AnnounceAirLockCloudNine[];
extern const u8 BattleScript_TargetAbilityStatRaiseOnSwitchin[]; extern const u8 BattleScript_TargetAbilityStatRaiseOnSwitchIn[];
extern const u8 BattleScript_CottonDownActivates[]; extern const u8 BattleScript_CottonDownActivates[];
extern const u8 BattleScript_BallFetch[]; extern const u8 BattleScript_BallFetch[];

View File

@ -3942,7 +3942,7 @@ u8 AbilityBattleEffects(u8 caseID, u8 battler, u16 ability, u8 special, u16 move
{ {
gSpecialStatuses[battler].switchInAbilityDone = 1; gSpecialStatuses[battler].switchInAbilityDone = 1;
SET_STATCHANGER(STAT_ATK, 1, FALSE); SET_STATCHANGER(STAT_ATK, 1, FALSE);
BattleScriptPushCursorAndCallback(BattleScript_TargetAbilityStatRaiseOnSwitchin); BattleScriptPushCursorAndCallback(BattleScript_TargetAbilityStatRaiseOnSwitchIn);
effect++; effect++;
} }
break; break;
@ -3951,7 +3951,7 @@ u8 AbilityBattleEffects(u8 caseID, u8 battler, u16 ability, u8 special, u16 move
{ {
gSpecialStatuses[battler].switchInAbilityDone = 1; gSpecialStatuses[battler].switchInAbilityDone = 1;
SET_STATCHANGER(STAT_DEF, 1, FALSE); SET_STATCHANGER(STAT_DEF, 1, FALSE);
BattleScriptPushCursorAndCallback(BattleScript_TargetAbilityStatRaiseOnSwitchin); BattleScriptPushCursorAndCallback(BattleScript_TargetAbilityStatRaiseOnSwitchIn);
effect++; effect++;
} }
break; break;