Implemented Clanging Scales' effect
This commit is contained in:
parent
fd3605b023
commit
95d41524a2
3 changed files with 8 additions and 2 deletions
|
@ -365,6 +365,11 @@ gBattleScriptsForMoveEffects:: @ 82D86A8
|
|||
.4byte BattleScript_EffectFairyLock
|
||||
.4byte BattleScript_EffectAllySwitch
|
||||
.4byte BattleScript_EffectSleepHit
|
||||
.4byte BattleScript_EffectAttackerDefenseDownHit
|
||||
|
||||
BattleScript_EffectAttackerDefenseDownHit:
|
||||
setmoveeffect MOVE_EFFECT_DEF_MINUS_1 | MOVE_EFFECT_AFFECTS_USER
|
||||
goto BattleScript_EffectHit
|
||||
|
||||
BattleScript_EffectSleepHit:
|
||||
setmoveeffect MOVE_EFFECT_SLEEP
|
||||
|
|
|
@ -351,7 +351,8 @@
|
|||
#define EFFECT_FAIRY_LOCK 345
|
||||
#define EFFECT_ALLY_SWITCH 346
|
||||
#define EFFECT_SLEEP_HIT 347 // Relic Song
|
||||
#define EFFECT_ATTACKER_DEFENSE_DOWN_HIT 348
|
||||
|
||||
#define NUM_BATTLE_MOVE_EFFECTS 348
|
||||
#define NUM_BATTLE_MOVE_EFFECTS 349
|
||||
|
||||
#endif // GUARD_CONSTANTS_BATTLE_MOVE_EFFECTS_H
|
||||
|
|
|
@ -10044,7 +10044,7 @@ const struct BattleMove gBattleMoves[MOVES_COUNT] =
|
|||
|
||||
[MOVE_CLANGING_SCALES] =
|
||||
{
|
||||
.effect = EFFECT_DEFENSE_DOWN_HIT,
|
||||
.effect = EFFECT_ATTACKER_DEFENSE_DOWN_HIT,
|
||||
.power = 110,
|
||||
.type = TYPE_DRAGON,
|
||||
.accuracy = 100,
|
||||
|
|
Loading…
Reference in a new issue