mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-26 03:34:15 +01:00
Fixed Triple Axe's target, added its effect and fixed Ceaseless Edge's
This commit is contained in:
parent
2cb9400ef0
commit
1229fa752a
@ -419,6 +419,14 @@ gBattleScriptsForMoveEffects::
|
||||
.4byte BattleScript_EffectCeaselessEdge @ EFFECT_CEASELESS_EDGE
|
||||
.4byte BattleScript_EffectShellTrap @ EFFECT_SHELL_TRAP
|
||||
.4byte BattleScript_EffectDireClaw @ EFFECT_DIRE_CLAW
|
||||
.4byte BattleScript_EffectStoneAxe @ EFFECT_STONE_AXE
|
||||
|
||||
BattleScript_EffectStoneAxe::
|
||||
call BattleScript_EffectHit_Ret
|
||||
setstealthrock BattleScript_ButItFailed
|
||||
printstring STRINGID_POINTEDSTONESFLOAT
|
||||
waitmessage B_WAIT_TIME_LONG
|
||||
goto BattleScript_MoveEnd
|
||||
|
||||
BattleScript_EffectDireClaw::
|
||||
setmoveeffect MOVE_EFFECT_DIRE_CLAW
|
||||
@ -444,10 +452,6 @@ BattleScript_ShellTrapSetUp::
|
||||
BattleScript_EffectCeaselessEdge::
|
||||
call BattleScript_EffectHit_Ret
|
||||
trysetspikes BattleScript_ButItFailedAtkStringPpReduce
|
||||
attackstring
|
||||
ppreduce
|
||||
attackanimation
|
||||
waitanimation
|
||||
printstring STRINGID_SPIKESSCATTERED
|
||||
waitmessage B_WAIT_TIME_LONG
|
||||
goto BattleScript_MoveEnd
|
||||
|
@ -400,7 +400,8 @@
|
||||
#define EFFECT_CEASELESS_EDGE 394
|
||||
#define EFFECT_SHELL_TRAP 395
|
||||
#define EFFECT_DIRE_CLAW 396
|
||||
#define EFFECT_STONE_AXE 397
|
||||
|
||||
#define NUM_BATTLE_MOVE_EFFECTS 397
|
||||
#define NUM_BATTLE_MOVE_EFFECTS 398
|
||||
|
||||
#endif // GUARD_CONSTANTS_BATTLE_MOVE_EFFECTS_H
|
||||
|
@ -13326,13 +13326,13 @@ const struct BattleMove gBattleMoves[MOVES_COUNT_Z] =
|
||||
|
||||
[MOVE_STONE_AXE] =
|
||||
{
|
||||
.effect = EFFECT_PLACEHOLDER, // EFFECT_STONE_AXE,
|
||||
.effect = EFFECT_STONE_AXE,
|
||||
.power = 65,
|
||||
.type = TYPE_ROCK,
|
||||
.accuracy = 90,
|
||||
.pp = 15,
|
||||
.secondaryEffectChance = 0,
|
||||
.target = MOVE_TARGET_USER,
|
||||
.target = MOVE_TARGET_SELECTED,
|
||||
.priority = 0,
|
||||
.flags = FLAG_MAKES_CONTACT | FLAG_PROTECT_AFFECTED | FLAG_MIRROR_MOVE_AFFECTED | FLAG_KINGS_ROCK_AFFECTED | FLAG_SHEER_FORCE_BOOST,
|
||||
.split = SPLIT_PHYSICAL,
|
||||
|
Loading…
Reference in New Issue
Block a user