mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 19:47:35 +01:00
Implemented Relic Song's effect
This commit is contained in:
parent
72be56c15c
commit
33a45ba181
@ -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
|
||||
|
@ -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
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user