Expanding Force
This commit is contained in:
parent
5a094a3033
commit
60ce39543e
4 changed files with 9 additions and 2 deletions
|
@ -369,6 +369,7 @@ gBattleScriptsForMoveEffects:: @ 82D86A8
|
|||
.4byte BattleScript_EffectSleepHit
|
||||
.4byte BattleScript_EffectAttackerDefenseDownHit
|
||||
.4byte BattleScript_EffectBodyPress
|
||||
.4byte BattleScript_EffectExpandingForce
|
||||
|
||||
BattleScript_EffectAttackerDefenseDownHit:
|
||||
setmoveeffect MOVE_EFFECT_DEF_MINUS_1 | MOVE_EFFECT_AFFECTS_USER | MOVE_EFFECT_CERTAIN
|
||||
|
@ -2059,6 +2060,7 @@ BattleScript_EffectFusionCombo:
|
|||
BattleScript_EffectRevelationDance:
|
||||
BattleScript_EffectBelch:
|
||||
BattleScript_EffectBodyPress:
|
||||
BattleScript_EffectExpandingForce:
|
||||
|
||||
BattleScript_HitFromAtkCanceler::
|
||||
attackcanceler
|
||||
|
|
|
@ -353,7 +353,8 @@
|
|||
#define EFFECT_SLEEP_HIT 347 // Relic Song
|
||||
#define EFFECT_ATTACKER_DEFENSE_DOWN_HIT 348
|
||||
#define EFFECT_BODY_PRESS 349
|
||||
#define EFFECT_EXPANDING_FORCE 350
|
||||
|
||||
#define NUM_BATTLE_MOVE_EFFECTS 350
|
||||
#define NUM_BATTLE_MOVE_EFFECTS 351
|
||||
|
||||
#endif // GUARD_CONSTANTS_BATTLE_MOVE_EFFECTS_H
|
||||
|
|
|
@ -7210,6 +7210,10 @@ static u16 CalcMoveBasePower(u16 move, u8 battlerAtk, u8 battlerDef)
|
|||
if (gBattleMoves[gLastUsedMove].effect == EFFECT_FUSION_COMBO && move != gLastUsedMove)
|
||||
basePower *= 2;
|
||||
break;
|
||||
case EFFECT_EXPANDING_FORCE:
|
||||
if (gFieldStatuses & STATUS_FIELD_PSYCHIC_TERRAIN)
|
||||
basePower = 120;
|
||||
break;
|
||||
}
|
||||
|
||||
if (basePower == 0)
|
||||
|
|
|
@ -11220,7 +11220,7 @@ const struct BattleMove gBattleMoves[MOVES_COUNT] =
|
|||
|
||||
[MOVE_EXPANDING_FORCE] =
|
||||
{
|
||||
.effect = EFFECT_PLACEHOLDER, //TODO
|
||||
.effect = EFFECT_EXPANDING_FORCE,
|
||||
.power = 80,
|
||||
.type = TYPE_PSYCHIC,
|
||||
.accuracy = 100,
|
||||
|
|
Loading…
Reference in a new issue