Implemented Relic Song's effect

This commit is contained in:
LOuroboros 2020-06-16 07:06:38 -03:00
parent 72be56c15c
commit 33a45ba181
3 changed files with 7 additions and 1 deletions

View File

@ -364,6 +364,11 @@ gBattleScriptsForMoveEffects:: @ 82D86A8
.4byte BattleScript_EffectGeomancy
.4byte BattleScript_EffectFairyLock
.4byte BattleScript_EffectAllySwitch
.4byte BattleScript_EffectSleepHit
BattleScript_EffectSleepHit:
setmoveeffect MOVE_EFFECT_SLEEP
goto BattleScript_EffectHit
BattleScript_EffectAllySwitch:
attackcanceler

View File

@ -351,5 +351,6 @@
#define EFFECT_GEOMANCY 345
#define EFFECT_FAIRY_LOCK 346
#define EFFECT_ALLY_SWITCH 347
#define EFFECT_SLEEP_HIT 348 // Relic Song
#endif // GUARD_CONSTANTS_BATTLE_MOVE_EFFECTS_H

View File

@ -7671,7 +7671,7 @@ const struct BattleMove gBattleMoves[MOVES_COUNT] =
[MOVE_RELIC_SONG] =
{
.effect = EFFECT_SLEEP,
.effect = EFFECT_SLEEP_HIT,
.power = 75,
.type = TYPE_NORMAL,
.accuracy = 100,