mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-02-24 05:05:29 +01:00
Innards Out
This commit is contained in:
parent
e42ead10c9
commit
6ef28be22b
@ -3488,6 +3488,16 @@ u8 AbilityBattleEffects(u8 caseID, u8 battler, u8 ability, u8 special, u16 moveA
|
|||||||
effect++;
|
effect++;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case ABILITY_INNARDS_OUT:
|
||||||
|
if (!(gMoveResultFlags & MOVE_RESULT_NO_EFFECT)
|
||||||
|
&& gBattleMons[gBattlerTarget].hp == 0)
|
||||||
|
{
|
||||||
|
gBattleMoveDamage = gSpecialStatuses[gBattlerTarget].dmg;
|
||||||
|
BattleScriptPushCursor();
|
||||||
|
gBattlescriptCurrInstr = BattleScript_AftermathDmg;
|
||||||
|
effect++;
|
||||||
|
}
|
||||||
|
break;
|
||||||
case ABILITY_EFFECT_SPORE:
|
case ABILITY_EFFECT_SPORE:
|
||||||
if (!IS_BATTLER_OF_TYPE(gBattlerAttacker, TYPE_GRASS)
|
if (!IS_BATTLER_OF_TYPE(gBattlerAttacker, TYPE_GRASS)
|
||||||
&& GetBattlerAbility(gBattlerAttacker) != ABILITY_OVERCOAT
|
&& GetBattlerAbility(gBattlerAttacker) != ABILITY_OVERCOAT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user