mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-27 13:53:52 +01:00
Effect Spore ability pop-up
This commit is contained in:
parent
fa81559793
commit
eea162d3d8
@ -6301,8 +6301,9 @@ BattleScript_CuteCharmActivates::
|
|||||||
waitmessage 0x40
|
waitmessage 0x40
|
||||||
return
|
return
|
||||||
|
|
||||||
BattleScript_ApplySecondaryEffect::
|
BattleScript_AbilityStatusEffect::
|
||||||
waitstate
|
waitstate
|
||||||
|
call BattleScript_AbilityPopUp
|
||||||
seteffectsecondary
|
seteffectsecondary
|
||||||
return
|
return
|
||||||
|
|
||||||
|
@ -169,7 +169,7 @@ extern const u8 BattleScript_StickyHoldActivates[];
|
|||||||
extern const u8 BattleScript_ColorChangeActivates[];
|
extern const u8 BattleScript_ColorChangeActivates[];
|
||||||
extern const u8 BattleScript_RoughSkinActivates[];
|
extern const u8 BattleScript_RoughSkinActivates[];
|
||||||
extern const u8 BattleScript_CuteCharmActivates[];
|
extern const u8 BattleScript_CuteCharmActivates[];
|
||||||
extern const u8 BattleScript_ApplySecondaryEffect[];
|
extern const u8 BattleScript_AbilityStatusEffect[];
|
||||||
extern const u8 BattleScript_SynchronizeActivates[];
|
extern const u8 BattleScript_SynchronizeActivates[];
|
||||||
extern const u8 BattleScript_NoItemSteal[];
|
extern const u8 BattleScript_NoItemSteal[];
|
||||||
extern const u8 BattleScript_AbilityCuredStatus[];
|
extern const u8 BattleScript_AbilityCuredStatus[];
|
||||||
|
@ -3249,7 +3249,7 @@ u8 AbilityBattleEffects(u8 caseID, u8 battler, u8 ability, u8 special, u16 moveA
|
|||||||
|
|
||||||
gBattleScripting.moveEffect += MOVE_EFFECT_AFFECTS_USER;
|
gBattleScripting.moveEffect += MOVE_EFFECT_AFFECTS_USER;
|
||||||
BattleScriptPushCursor();
|
BattleScriptPushCursor();
|
||||||
gBattlescriptCurrInstr = BattleScript_ApplySecondaryEffect;
|
gBattlescriptCurrInstr = BattleScript_AbilityStatusEffect;
|
||||||
gHitMarker |= HITMARKER_IGNORE_SAFEGUARD;
|
gHitMarker |= HITMARKER_IGNORE_SAFEGUARD;
|
||||||
effect++;
|
effect++;
|
||||||
}
|
}
|
||||||
@ -3264,7 +3264,7 @@ u8 AbilityBattleEffects(u8 caseID, u8 battler, u8 ability, u8 special, u16 moveA
|
|||||||
{
|
{
|
||||||
gBattleScripting.moveEffect = MOVE_EFFECT_AFFECTS_USER | MOVE_EFFECT_POISON;
|
gBattleScripting.moveEffect = MOVE_EFFECT_AFFECTS_USER | MOVE_EFFECT_POISON;
|
||||||
BattleScriptPushCursor();
|
BattleScriptPushCursor();
|
||||||
gBattlescriptCurrInstr = BattleScript_ApplySecondaryEffect;
|
gBattlescriptCurrInstr = BattleScript_AbilityStatusEffect;
|
||||||
gHitMarker |= HITMARKER_IGNORE_SAFEGUARD;
|
gHitMarker |= HITMARKER_IGNORE_SAFEGUARD;
|
||||||
effect++;
|
effect++;
|
||||||
}
|
}
|
||||||
@ -3279,7 +3279,7 @@ u8 AbilityBattleEffects(u8 caseID, u8 battler, u8 ability, u8 special, u16 moveA
|
|||||||
{
|
{
|
||||||
gBattleScripting.moveEffect = MOVE_EFFECT_AFFECTS_USER | MOVE_EFFECT_PARALYSIS;
|
gBattleScripting.moveEffect = MOVE_EFFECT_AFFECTS_USER | MOVE_EFFECT_PARALYSIS;
|
||||||
BattleScriptPushCursor();
|
BattleScriptPushCursor();
|
||||||
gBattlescriptCurrInstr = BattleScript_ApplySecondaryEffect;
|
gBattlescriptCurrInstr = BattleScript_AbilityStatusEffect;
|
||||||
gHitMarker |= HITMARKER_IGNORE_SAFEGUARD;
|
gHitMarker |= HITMARKER_IGNORE_SAFEGUARD;
|
||||||
effect++;
|
effect++;
|
||||||
}
|
}
|
||||||
@ -3294,7 +3294,7 @@ u8 AbilityBattleEffects(u8 caseID, u8 battler, u8 ability, u8 special, u16 moveA
|
|||||||
{
|
{
|
||||||
gBattleScripting.moveEffect = MOVE_EFFECT_AFFECTS_USER | MOVE_EFFECT_BURN;
|
gBattleScripting.moveEffect = MOVE_EFFECT_AFFECTS_USER | MOVE_EFFECT_BURN;
|
||||||
BattleScriptPushCursor();
|
BattleScriptPushCursor();
|
||||||
gBattlescriptCurrInstr = BattleScript_ApplySecondaryEffect;
|
gBattlescriptCurrInstr = BattleScript_AbilityStatusEffect;
|
||||||
gHitMarker |= HITMARKER_IGNORE_SAFEGUARD;
|
gHitMarker |= HITMARKER_IGNORE_SAFEGUARD;
|
||||||
effect++;
|
effect++;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user