mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-18 01:14:19 +01:00
Added the data of SwSh's Crown Tundra's moves
And Dragon Energy's effect. Eerie Spell's is the only one missing out of this bunch.
This commit is contained in:
parent
38b61ac5a0
commit
0ac026e6ca
@ -365,6 +365,7 @@ gBattleScriptsForMoveEffects:: @ 82D86A8
|
||||
.4byte BattleScript_EffectFairyLock
|
||||
.4byte BattleScript_EffectAllySwitch
|
||||
.4byte BattleScript_EffectSleepHit
|
||||
.4byte BattleScript_EffectDragonEnergy
|
||||
|
||||
BattleScript_EffectSleepHit:
|
||||
setmoveeffect MOVE_EFFECT_SLEEP
|
||||
@ -2007,6 +2008,7 @@ BattleScript_EffectPlaceholder:
|
||||
printstring STRINGID_NOTDONEYET
|
||||
goto BattleScript_MoveEnd
|
||||
|
||||
BattleScript_EffectDragonEnergy:
|
||||
BattleScript_EffectStompingTantrum:
|
||||
BattleScript_EffectEvasionDownHit:
|
||||
BattleScript_EffectVitalThrow:
|
||||
|
@ -351,5 +351,6 @@
|
||||
#define EFFECT_FAIRY_LOCK 345
|
||||
#define EFFECT_ALLY_SWITCH 346
|
||||
#define EFFECT_SLEEP_HIT 347 // Relic Song
|
||||
#define EFFECT_DRAGON_ENERGY 348
|
||||
|
||||
#endif // GUARD_CONSTANTS_BATTLE_MOVE_EFFECTS_H
|
||||
|
@ -772,8 +772,17 @@
|
||||
#define MOVE_JUNGLE_HEALING 744
|
||||
#define MOVE_WICKED_BLOW 745
|
||||
#define MOVE_SURGING_STRIKES 746
|
||||
// Crown Tundra Moves
|
||||
#define MOVE_THUNDER_CAGE 747
|
||||
#define MOVE_DRAGON_ENERGY 748
|
||||
#define MOVE_FREEZING_GLARE 749
|
||||
#define MOVE_FIERY_WRATH 750
|
||||
#define MOVE_THUNDEROUS_KICK 751
|
||||
#define MOVE_GLACIAL_LANCE 752
|
||||
#define MOVE_ASTRAL_BARRAGE 753
|
||||
#define MOVE_EERIE_SPELL 754
|
||||
|
||||
#define MOVES_COUNT_GEN8 747
|
||||
#define MOVES_COUNT_GEN8 755
|
||||
|
||||
#define MOVES_COUNT MOVES_COUNT_GEN8
|
||||
|
||||
|
@ -6581,6 +6581,9 @@ static u16 CalcMoveBasePower(u16 move, u8 battlerAtk, u8 battlerDef)
|
||||
if (gBattleMoves[gLastUsedMove].effect == EFFECT_FUSION_COMBO && move != gLastUsedMove)
|
||||
basePower *= 2;
|
||||
break;
|
||||
case EFFECT_DRAGON_ENERGY:
|
||||
basePower = 150 * gBattleMons[battlerAtk].hp / gBattleMons[battlerAtk].maxHP;
|
||||
break;
|
||||
}
|
||||
|
||||
if (basePower == 0)
|
||||
|
@ -11386,4 +11386,116 @@ const struct BattleMove gBattleMoves[MOVES_COUNT] =
|
||||
.flags = FLAG_MAKES_CONTACT | FLAG_PROTECT_AFFECTED | FLAG_MIRROR_MOVE_AFFECTED | FLAG_KINGSROCK_AFFECTED | FLAG_IRON_FIST_BOOST,
|
||||
.split = SPLIT_PHYSICAL,
|
||||
},
|
||||
|
||||
[MOVE_THUNDER_CAGE] =
|
||||
{
|
||||
.effect = EFFECT_TRAP,
|
||||
.power = 80,
|
||||
.type = TYPE_ELECTRIC,
|
||||
.accuracy = 90,
|
||||
.pp = 15,
|
||||
.secondaryEffectChance = 100,
|
||||
.target = MOVE_TARGET_SELECTED,
|
||||
.priority = 0,
|
||||
.flags = FLAG_PROTECT_AFFECTED | FLAG_MIRROR_MOVE_AFFECTED | FLAG_KINGSROCK_AFFECTED,
|
||||
.split = SPLIT_SPECIAL,
|
||||
},
|
||||
|
||||
[MOVE_DRAGON_ENERGY] =
|
||||
{
|
||||
.effect = EFFECT_DRAGON_ENERGY,
|
||||
.power = 150,
|
||||
.type = TYPE_DRAGON,
|
||||
.accuracy = 100,
|
||||
.pp = 5,
|
||||
.secondaryEffectChance = 0,
|
||||
.target = MOVE_TARGET_SELECTED,
|
||||
.priority = 0,
|
||||
.flags = FLAG_PROTECT_AFFECTED | FLAG_MIRROR_MOVE_AFFECTED | FLAG_KINGSROCK_AFFECTED,
|
||||
.split = SPLIT_SPECIAL,
|
||||
},
|
||||
|
||||
[MOVE_FREEZING_GLARE] =
|
||||
{
|
||||
.power = 90,
|
||||
.effect = EFFECT_FREEZE_HIT,
|
||||
.type = TYPE_PSYCHIC,
|
||||
.accuracy = 100,
|
||||
.pp = 10,
|
||||
.secondaryEffectChance = 10,
|
||||
.target = MOVE_TARGET_SELECTED,
|
||||
.priority = 0,
|
||||
.flags = FLAG_MIRROR_MOVE_AFFECTED | FLAG_KINGSROCK_AFFECTED,
|
||||
.split = SPLIT_SPECIAL,
|
||||
},
|
||||
|
||||
[MOVE_FIERY_WRATH] =
|
||||
{
|
||||
.effect = EFFECT_FLINCH_HIT,
|
||||
.power = 90,
|
||||
.type = TYPE_DARK,
|
||||
.accuracy = 100,
|
||||
.pp = 10,
|
||||
.secondaryEffectChance = 20,
|
||||
.target = MOVE_TARGET_SELECTED,
|
||||
.priority = 0,
|
||||
.flags = FLAG_MIRROR_MOVE_AFFECTED | FLAG_KINGSROCK_AFFECTED,
|
||||
.split = SPLIT_SPECIAL,
|
||||
},
|
||||
|
||||
[MOVE_THUNDEROUS_KICK] =
|
||||
{
|
||||
.effect = EFFECT_DEFENSE_DOWN_HIT,
|
||||
.power = 90,
|
||||
.type = TYPE_FIGHTING,
|
||||
.accuracy = 100,
|
||||
.pp = 10,
|
||||
.secondaryEffectChance = 100,
|
||||
.target = MOVE_TARGET_SELECTED,
|
||||
.priority = 0,
|
||||
.flags = FLAG_MAKES_CONTACT | FLAG_PROTECT_AFFECTED | FLAG_MIRROR_MOVE_AFFECTED | FLAG_KINGSROCK_AFFECTED,
|
||||
.split = SPLIT_PHYSICAL,
|
||||
},
|
||||
|
||||
[MOVE_GLACIAL_LANCE] =
|
||||
{
|
||||
.effect = EFFECT_HIT,
|
||||
.power = 130,
|
||||
.type = TYPE_ICE,
|
||||
.accuracy = 100,
|
||||
.pp = 5,
|
||||
.secondaryEffectChance = 0,
|
||||
.target = MOVE_TARGET_SELECTED,
|
||||
.priority = 0,
|
||||
.flags = FLAG_PROTECT_AFFECTED | FLAG_MIRROR_MOVE_AFFECTED | FLAG_KINGSROCK_AFFECTED,
|
||||
.split = SPLIT_PHYSICAL,
|
||||
},
|
||||
|
||||
[MOVE_ASTRAL_BARRAGE] =
|
||||
{
|
||||
.effect = EFFECT_HIT,
|
||||
.power = 120,
|
||||
.type = TYPE_GHOST,
|
||||
.accuracy = 100,
|
||||
.pp = 5,
|
||||
.secondaryEffectChance = 0,
|
||||
.target = MOVE_TARGET_SELECTED,
|
||||
.priority = 0,
|
||||
.flags = FLAG_PROTECT_AFFECTED | FLAG_MIRROR_MOVE_AFFECTED | FLAG_KINGSROCK_AFFECTED,
|
||||
.split = SPLIT_SPECIAL,
|
||||
},
|
||||
|
||||
[MOVE_EERIE_SPELL] =
|
||||
{
|
||||
.effect = EFFECT_HIT, // To do. It's a copy of Spite that inflicts damage and reduced the target's last move's PP by 3 instead of 4.
|
||||
.power = 80,
|
||||
.type = TYPE_PSYCHIC,
|
||||
.accuracy = 100,
|
||||
.pp = 5,
|
||||
.secondaryEffectChance = 0,
|
||||
.target = MOVE_TARGET_SELECTED,
|
||||
.priority = 0,
|
||||
.flags = FLAG_PROTECT_AFFECTED | FLAG_MIRROR_MOVE_AFFECTED | FLAG_KINGSROCK_AFFECTED | FLAG_SOUND,
|
||||
.split = SPLIT_SPECIAL,
|
||||
},
|
||||
};
|
||||
|
@ -2910,6 +2910,38 @@ static const u8 sSURGING_STRIKESDescription[] = _(
|
||||
"Mastering the Water style,\n"
|
||||
"strikes with 3 critical hits.");
|
||||
|
||||
static const u8 sTHUNDER_CAGEDescription[] = _(
|
||||
"Traps the foe in a cage of\n"
|
||||
"electricity for 2 to 5 turns.");
|
||||
|
||||
static const u8 sDRAGON_ENERGYDescription[] = _(
|
||||
"The higher the user's HP\n"
|
||||
"the more damage caused.");
|
||||
|
||||
static const u8 sFREEZING_GLAREDescription[] = _(
|
||||
"Shoots psychic power from\n"
|
||||
"the eyes. May freeze the foe.");
|
||||
|
||||
static const u8 sFIERY_WRATHDescription[] = _(
|
||||
"An attack fueled by your\n"
|
||||
"wrath. May cause flinching.");
|
||||
|
||||
static const u8 sTHUNDEROUS_KICKDescription[] = _(
|
||||
"Uses a lightning-like kick\n"
|
||||
"to hit. Lowers foe's DEFENSE.");
|
||||
|
||||
static const u8 sGLACIAL_LANCEDescription[] = _(
|
||||
"Strikes by hurling a blizzard-\n"
|
||||
"cloaked icicle lance at a foe.");
|
||||
|
||||
static const u8 sASTRAL_BARRAGEDescription[] = _(
|
||||
"Strikes by sending a frightful\n"
|
||||
"amount of ghosts at a foe.");
|
||||
|
||||
static const u8 sEERIE_SPELLDescription[] = _(
|
||||
"Eeriely inflicts damage and\n"
|
||||
"cuts a foe's las move's PP.");
|
||||
|
||||
static const u8 sNotDoneYetDescription[] = _(
|
||||
"Not done yet.");
|
||||
|
||||
@ -3664,5 +3696,12 @@ const u8 *const gMoveDescriptionPointers[MOVES_COUNT - 1] =
|
||||
[MOVE_JUNGLE_HEALING - 1] = sJUNGLE_HEALINGDescription,
|
||||
[MOVE_WICKED_BLOW - 1] = sWICKED_BLOWDescription,
|
||||
[MOVE_SURGING_STRIKES - 1] = sSURGING_STRIKESDescription,
|
||||
|
||||
[MOVE_THUNDER_CAGE - 1] = sTHUNDER_CAGEDescription,
|
||||
[MOVE_DRAGON_ENERGY - 1] = sDRAGON_ENERGYDescription,
|
||||
[MOVE_FREEZING_GLARE - 1] = sFREEZING_GLAREDescription,
|
||||
[MOVE_FIERY_WRATH - 1] = sFIERY_WRATHDescription,
|
||||
[MOVE_THUNDEROUS_KICK - 1] = sTHUNDEROUS_KICKDescription,
|
||||
[MOVE_GLACIAL_LANCE - 1] = sGLACIAL_LANCEDescription,
|
||||
[MOVE_ASTRAL_BARRAGE - 1] = sASTRAL_BARRAGEDescription,
|
||||
[MOVE_EERIE_SPELL - 1] = sEERIE_SPELLDescription,
|
||||
};
|
||||
|
@ -748,4 +748,12 @@ const u8 gMoveNames[MOVES_COUNT][MOVE_NAME_LENGTH + 1] =
|
||||
[MOVE_JUNGLE_HEALING] = _("Jungle Heal"),
|
||||
[MOVE_WICKED_BLOW] = _("Wicked Blow"),
|
||||
[MOVE_SURGING_STRIKES] = _("SurgeStrikes"),
|
||||
[MOVE_THUNDER_CAGE] = _("Thunder Cage"),
|
||||
[MOVE_DRAGON_ENERGY] = _("DragonEnergy"),
|
||||
[MOVE_FREEZING_GLARE] = _("FreezngGlare"),
|
||||
[MOVE_FIERY_WRATH] = _("Fiery Wrath"),
|
||||
[MOVE_THUNDEROUS_KICK] = _("ThnderusKick"),
|
||||
[MOVE_GLACIAL_LANCE] = _("GlacialLance"),
|
||||
[MOVE_ASTRAL_BARRAGE] = _("AstrlBarrage"),
|
||||
[MOVE_EERIE_SPELL] = _("Eerie Spell"),
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user