mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-14 07:33:44 +01:00
Change inner structure of semi invulerable moves
This commit is contained in:
parent
efe17d995c
commit
1435cd4692
@ -1918,9 +1918,7 @@ BattleScript_EffectJudgment:
|
|||||||
BattleScript_EffectFusionCombo:
|
BattleScript_EffectFusionCombo:
|
||||||
BattleScript_EffectRevelationDance:
|
BattleScript_EffectRevelationDance:
|
||||||
BattleScript_EffectBelch:
|
BattleScript_EffectBelch:
|
||||||
jumpifnotmove MOVE_SURF, BattleScript_HitFromAtkCanceler
|
|
||||||
jumpifnostatus3 BS_TARGET, STATUS3_UNDERWATER, BattleScript_HitFromAtkCanceler
|
|
||||||
orword gHitMarker, HITMARKER_IGNORE_UNDERWATER
|
|
||||||
BattleScript_HitFromAtkCanceler::
|
BattleScript_HitFromAtkCanceler::
|
||||||
attackcanceler
|
attackcanceler
|
||||||
BattleScript_HitFromAccCheck::
|
BattleScript_HitFromAccCheck::
|
||||||
@ -2645,10 +2643,6 @@ BattleScript_EffectDragonRage::
|
|||||||
goto BattleScript_HitFromAtkAnimation
|
goto BattleScript_HitFromAtkAnimation
|
||||||
|
|
||||||
BattleScript_EffectTrap::
|
BattleScript_EffectTrap::
|
||||||
jumpifnotmove MOVE_WHIRLPOOL, BattleScript_DoWrapEffect
|
|
||||||
jumpifnostatus3 BS_TARGET, STATUS3_UNDERWATER, BattleScript_DoWrapEffect
|
|
||||||
orword gHitMarker, HITMARKER_IGNORE_UNDERWATER
|
|
||||||
BattleScript_DoWrapEffect::
|
|
||||||
setmoveeffect MOVE_EFFECT_WRAP
|
setmoveeffect MOVE_EFFECT_WRAP
|
||||||
goto BattleScript_EffectHit
|
goto BattleScript_EffectHit
|
||||||
|
|
||||||
@ -3574,15 +3568,17 @@ BattleScript_EffectThawHit::
|
|||||||
goto BattleScript_EffectHit
|
goto BattleScript_EffectHit
|
||||||
|
|
||||||
BattleScript_EffectMagnitude::
|
BattleScript_EffectMagnitude::
|
||||||
|
jumpifword CMP_COMMON_BITS, gHitMarker, HITMARKER_NO_ATTACKSTRING | HITMARKER_NO_PPDEDUCT, BattleScript_EffectMagnitudeTarget
|
||||||
attackcanceler
|
attackcanceler
|
||||||
attackstring
|
attackstring
|
||||||
ppreduce
|
ppreduce
|
||||||
selectfirstvalidtarget
|
|
||||||
magnitudedamagecalculation
|
magnitudedamagecalculation
|
||||||
pause 0x20
|
pause 0x20
|
||||||
printstring STRINGID_MAGNITUDESTRENGTH
|
printstring STRINGID_MAGNITUDESTRENGTH
|
||||||
waitmessage 0x40
|
waitmessage 0x40
|
||||||
goto BattleScript_HitsAllWithUndergroundBonusLoop
|
BattleScript_EffectMagnitudeTarget:
|
||||||
|
accuracycheck BattleScript_MoveMissedPause, ACC_CURR_MOVE
|
||||||
|
goto BattleScript_HitFromCritCalc
|
||||||
|
|
||||||
BattleScript_EffectBatonPass::
|
BattleScript_EffectBatonPass::
|
||||||
attackcanceler
|
attackcanceler
|
||||||
@ -3714,8 +3710,6 @@ BattleScript_SkullBashEnd::
|
|||||||
goto BattleScript_MoveEnd
|
goto BattleScript_MoveEnd
|
||||||
|
|
||||||
BattleScript_EffectTwister:
|
BattleScript_EffectTwister:
|
||||||
jumpifnostatus3 BS_TARGET, STATUS3_ON_AIR, BattleScript_FlinchEffect
|
|
||||||
orword gHitMarker, HITMARKER_IGNORE_ON_AIR
|
|
||||||
BattleScript_FlinchEffect:
|
BattleScript_FlinchEffect:
|
||||||
BattleScript_EffectStomp:
|
BattleScript_EffectStomp:
|
||||||
setmoveeffect MOVE_EFFECT_FLINCH
|
setmoveeffect MOVE_EFFECT_FLINCH
|
||||||
@ -3724,50 +3718,7 @@ BattleScript_EffectStomp:
|
|||||||
BattleScript_EffectBulldoze:
|
BattleScript_EffectBulldoze:
|
||||||
setmoveeffect MOVE_EFFECT_SPD_MINUS_1
|
setmoveeffect MOVE_EFFECT_SPD_MINUS_1
|
||||||
BattleScript_EffectEarthquake:
|
BattleScript_EffectEarthquake:
|
||||||
attackcanceler
|
goto BattleScript_EffectHit
|
||||||
attackstring
|
|
||||||
ppreduce
|
|
||||||
selectfirstvalidtarget
|
|
||||||
BattleScript_HitsAllWithUndergroundBonusLoop::
|
|
||||||
movevaluescleanup
|
|
||||||
copyhword sMOVE_EFFECT, sSAVED_MOVE_EFFECT
|
|
||||||
jumpifnostatus3 BS_TARGET, STATUS3_UNDERGROUND, BattleScript_HitsAllNoUndergroundBonus
|
|
||||||
orword gHitMarker, HITMARKER_IGNORE_UNDERGROUND
|
|
||||||
goto BattleScript_DoHitAllWithUndergroundBonus
|
|
||||||
BattleScript_HitsAllNoUndergroundBonus::
|
|
||||||
bicword gHitMarker, HITMARKER_IGNORE_UNDERGROUND
|
|
||||||
BattleScript_DoHitAllWithUndergroundBonus::
|
|
||||||
accuracycheck BattleScript_HitAllWithUndergroundBonusMissed, ACC_CURR_MOVE
|
|
||||||
critcalc
|
|
||||||
damagecalc
|
|
||||||
adjustdamage
|
|
||||||
attackanimation
|
|
||||||
waitanimation
|
|
||||||
effectivenesssound
|
|
||||||
hitanimation BS_TARGET
|
|
||||||
waitstate
|
|
||||||
healthbarupdate BS_TARGET
|
|
||||||
datahpupdate BS_TARGET
|
|
||||||
critmessage
|
|
||||||
waitmessage 0x40
|
|
||||||
resultmessage
|
|
||||||
waitmessage 0x40
|
|
||||||
seteffectwithchance
|
|
||||||
printstring STRINGID_EMPTYSTRING3
|
|
||||||
waitmessage 0x1
|
|
||||||
tryfaintmon BS_TARGET, FALSE, NULL
|
|
||||||
moveendto MOVEEND_NEXT_TARGET
|
|
||||||
jumpifnexttargetvalid BattleScript_HitsAllWithUndergroundBonusLoop
|
|
||||||
end
|
|
||||||
BattleScript_HitAllWithUndergroundBonusMissed::
|
|
||||||
pause 0x20
|
|
||||||
typecalc
|
|
||||||
effectivenesssound
|
|
||||||
resultmessage
|
|
||||||
waitmessage 0x40
|
|
||||||
moveendto MOVEEND_NEXT_TARGET
|
|
||||||
jumpifnexttargetvalid BattleScript_HitsAllWithUndergroundBonusLoop
|
|
||||||
end
|
|
||||||
|
|
||||||
BattleScript_EffectFutureSight::
|
BattleScript_EffectFutureSight::
|
||||||
attackcanceler
|
attackcanceler
|
||||||
@ -3781,8 +3732,6 @@ BattleScript_EffectFutureSight::
|
|||||||
goto BattleScript_MoveEnd
|
goto BattleScript_MoveEnd
|
||||||
|
|
||||||
BattleScript_EffectGust::
|
BattleScript_EffectGust::
|
||||||
jumpifnostatus3 BS_TARGET, STATUS3_ON_AIR, BattleScript_EffectHit
|
|
||||||
orword gHitMarker, HITMARKER_IGNORE_ON_AIR
|
|
||||||
goto BattleScript_EffectHit
|
goto BattleScript_EffectHit
|
||||||
|
|
||||||
BattleScript_EffectSolarbeam::
|
BattleScript_EffectSolarbeam::
|
||||||
@ -3804,12 +3753,10 @@ BattleScript_SolarbeamOnFirstTurn::
|
|||||||
|
|
||||||
BattleScript_EffectThunder:
|
BattleScript_EffectThunder:
|
||||||
setmoveeffect MOVE_EFFECT_PARALYSIS
|
setmoveeffect MOVE_EFFECT_PARALYSIS
|
||||||
orword gHitMarker, HITMARKER_IGNORE_ON_AIR
|
|
||||||
goto BattleScript_EffectHit
|
goto BattleScript_EffectHit
|
||||||
|
|
||||||
BattleScript_EffectHurricane:
|
BattleScript_EffectHurricane:
|
||||||
setmoveeffect MOVE_EFFECT_CONFUSION
|
setmoveeffect MOVE_EFFECT_CONFUSION
|
||||||
orword gHitMarker, HITMARKER_IGNORE_ON_AIR
|
|
||||||
goto BattleScript_EffectHit
|
goto BattleScript_EffectHit
|
||||||
|
|
||||||
BattleScript_EffectTeleport:
|
BattleScript_EffectTeleport:
|
||||||
@ -4618,7 +4565,6 @@ BattleScript_CosmicPowerEnd::
|
|||||||
goto BattleScript_MoveEnd
|
goto BattleScript_MoveEnd
|
||||||
|
|
||||||
BattleScript_EffectSkyUppercut::
|
BattleScript_EffectSkyUppercut::
|
||||||
orword gHitMarker, HITMARKER_IGNORE_ON_AIR
|
|
||||||
goto BattleScript_EffectHit
|
goto BattleScript_EffectHit
|
||||||
|
|
||||||
BattleScript_EffectBulkUp::
|
BattleScript_EffectBulkUp::
|
||||||
|
@ -177,9 +177,7 @@
|
|||||||
#define HITMARKER_IGNORE_SAFEGUARD 0x00002000
|
#define HITMARKER_IGNORE_SAFEGUARD 0x00002000
|
||||||
#define HITMARKER_SYNCHRONISE_EFFECT 0x00004000
|
#define HITMARKER_SYNCHRONISE_EFFECT 0x00004000
|
||||||
#define HITMARKER_RUN 0x00008000
|
#define HITMARKER_RUN 0x00008000
|
||||||
#define HITMARKER_IGNORE_ON_AIR 0x00010000
|
// 3 free spots because of change in handling of UNDERGROUND/UNDERGWATER/ON AIR
|
||||||
#define HITMARKER_IGNORE_UNDERGROUND 0x00020000
|
|
||||||
#define HITMARKER_IGNORE_UNDERWATER 0x00040000
|
|
||||||
#define HITMARKER_UNABLE_TO_USE_MOVE 0x00080000
|
#define HITMARKER_UNABLE_TO_USE_MOVE 0x00080000
|
||||||
#define HITMARKER_x100000 0x00100000
|
#define HITMARKER_x100000 0x00100000
|
||||||
#define HITMARKER_x200000 0x00200000
|
#define HITMARKER_x200000 0x00200000
|
||||||
|
@ -107,6 +107,8 @@
|
|||||||
#define FLAG_POWDER 0x80000
|
#define FLAG_POWDER 0x80000
|
||||||
#define FLAG_TARGET_ABILITY_IGNORED 0x100000
|
#define FLAG_TARGET_ABILITY_IGNORED 0x100000
|
||||||
#define FLAG_DANCE 0x200000
|
#define FLAG_DANCE 0x200000
|
||||||
|
#define FLAG_DMG_IN_AIR 0x400000 // X2 dmg on air, always hits target on air
|
||||||
|
#define FLAG_HIT_IN_AIR 0x800000 // dmg is normal, always hits target on air
|
||||||
|
|
||||||
// Split defines.
|
// Split defines.
|
||||||
#define SPLIT_PHYSICAL 0x0
|
#define SPLIT_PHYSICAL 0x0
|
||||||
|
@ -5659,8 +5659,7 @@ static void HandleAction_NothingIsFainted(void)
|
|||||||
gCurrentTurnActionNumber++;
|
gCurrentTurnActionNumber++;
|
||||||
gCurrentActionFuncId = gActionsByTurnOrder[gCurrentTurnActionNumber];
|
gCurrentActionFuncId = gActionsByTurnOrder[gCurrentTurnActionNumber];
|
||||||
gHitMarker &= ~(HITMARKER_DESTINYBOND | HITMARKER_IGNORE_SUBSTITUTE | HITMARKER_ATTACKSTRING_PRINTED
|
gHitMarker &= ~(HITMARKER_DESTINYBOND | HITMARKER_IGNORE_SUBSTITUTE | HITMARKER_ATTACKSTRING_PRINTED
|
||||||
| HITMARKER_NO_PPDEDUCT | HITMARKER_IGNORE_SAFEGUARD | HITMARKER_IGNORE_ON_AIR
|
| HITMARKER_NO_PPDEDUCT | HITMARKER_IGNORE_SAFEGUARD | HITMARKER_x100000
|
||||||
| HITMARKER_IGNORE_UNDERGROUND | HITMARKER_IGNORE_UNDERWATER | HITMARKER_x100000
|
|
||||||
| HITMARKER_OBEYS | HITMARKER_x10 | HITMARKER_SYNCHRONISE_EFFECT
|
| HITMARKER_OBEYS | HITMARKER_x10 | HITMARKER_SYNCHRONISE_EFFECT
|
||||||
| HITMARKER_CHARGING | HITMARKER_x4000000);
|
| HITMARKER_CHARGING | HITMARKER_x4000000);
|
||||||
}
|
}
|
||||||
@ -5672,8 +5671,7 @@ static void HandleAction_ActionFinished(void)
|
|||||||
gCurrentActionFuncId = gActionsByTurnOrder[gCurrentTurnActionNumber];
|
gCurrentActionFuncId = gActionsByTurnOrder[gCurrentTurnActionNumber];
|
||||||
SpecialStatusesClear();
|
SpecialStatusesClear();
|
||||||
gHitMarker &= ~(HITMARKER_DESTINYBOND | HITMARKER_IGNORE_SUBSTITUTE | HITMARKER_ATTACKSTRING_PRINTED
|
gHitMarker &= ~(HITMARKER_DESTINYBOND | HITMARKER_IGNORE_SUBSTITUTE | HITMARKER_ATTACKSTRING_PRINTED
|
||||||
| HITMARKER_NO_PPDEDUCT | HITMARKER_IGNORE_SAFEGUARD | HITMARKER_IGNORE_ON_AIR
|
| HITMARKER_NO_PPDEDUCT | HITMARKER_IGNORE_SAFEGUARD | HITMARKER_x100000
|
||||||
| HITMARKER_IGNORE_UNDERGROUND | HITMARKER_IGNORE_UNDERWATER | HITMARKER_x100000
|
|
||||||
| HITMARKER_OBEYS | HITMARKER_x10 | HITMARKER_SYNCHRONISE_EFFECT
|
| HITMARKER_OBEYS | HITMARKER_x10 | HITMARKER_SYNCHRONISE_EFFECT
|
||||||
| HITMARKER_CHARGING | HITMARKER_x4000000);
|
| HITMARKER_CHARGING | HITMARKER_x4000000);
|
||||||
|
|
||||||
|
@ -1217,31 +1217,10 @@ static bool32 AccuracyCalcHelper(u16 move)
|
|||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(gHitMarker & HITMARKER_IGNORE_ON_AIR) && gStatuses3[gBattlerTarget] & STATUS3_ON_AIR)
|
if ((gStatuses3[gBattlerTarget] & STATUS3_PHANTOM_FORCE)
|
||||||
{
|
|| (!(gBattleMoves[move].flags & FLAG_HIT_IN_AIR) && gStatuses3[gBattlerTarget] & STATUS3_ON_AIR)
|
||||||
gMoveResultFlags |= MOVE_RESULT_MISSED;
|
|| (!(gBattleMoves[move].flags & FLAG_DMG_UNDERGROUND) && gStatuses3[gBattlerTarget] & STATUS3_UNDERGROUND)
|
||||||
JumpIfMoveFailed(7, move);
|
|| (!(gBattleMoves[move].flags & FLAG_DMG_UNDERWATER) && gStatuses3[gBattlerTarget] & STATUS3_UNDERWATER))
|
||||||
return TRUE;
|
|
||||||
}
|
|
||||||
gHitMarker &= ~HITMARKER_IGNORE_ON_AIR;
|
|
||||||
|
|
||||||
if (!(gHitMarker & HITMARKER_IGNORE_UNDERGROUND) && gStatuses3[gBattlerTarget] & STATUS3_UNDERGROUND)
|
|
||||||
{
|
|
||||||
gMoveResultFlags |= MOVE_RESULT_MISSED;
|
|
||||||
JumpIfMoveFailed(7, move);
|
|
||||||
return TRUE;
|
|
||||||
}
|
|
||||||
gHitMarker &= ~HITMARKER_IGNORE_UNDERGROUND;
|
|
||||||
|
|
||||||
if (!(gHitMarker & HITMARKER_IGNORE_UNDERWATER) && gStatuses3[gBattlerTarget] & STATUS3_UNDERWATER)
|
|
||||||
{
|
|
||||||
gMoveResultFlags |= MOVE_RESULT_MISSED;
|
|
||||||
JumpIfMoveFailed(7, move);
|
|
||||||
return TRUE;
|
|
||||||
}
|
|
||||||
gHitMarker &= ~HITMARKER_IGNORE_UNDERWATER;
|
|
||||||
|
|
||||||
if (gStatuses3[gBattlerTarget] & STATUS3_PHANTOM_FORCE)
|
|
||||||
{
|
{
|
||||||
gMoveResultFlags |= MOVE_RESULT_MISSED;
|
gMoveResultFlags |= MOVE_RESULT_MISSED;
|
||||||
JumpIfMoveFailed(7, move);
|
JumpIfMoveFailed(7, move);
|
||||||
@ -10030,9 +10009,7 @@ static void Cmd_magnitudedamagecalculation(void)
|
|||||||
magnitude = 10;
|
magnitude = 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
PREPARE_BYTE_NUMBER_BUFFER(gBattleTextBuff1, 2, magnitude);
|
PREPARE_BYTE_NUMBER_BUFFER(gBattleTextBuff1, 2, magnitude);
|
||||||
|
|
||||||
for (gBattlerTarget = 0; gBattlerTarget < gBattlersCount; gBattlerTarget++)
|
for (gBattlerTarget = 0; gBattlerTarget < gBattlersCount; gBattlerTarget++)
|
||||||
{
|
{
|
||||||
if (gBattlerTarget == gBattlerAttacker)
|
if (gBattlerTarget == gBattlerAttacker)
|
||||||
|
@ -5338,11 +5338,6 @@ static u16 CalcMoveBasePower(u16 move, u8 battlerAtk, u8 battlerDef)
|
|||||||
if (GetBattlerTurnOrderNum(battlerAtk) > GetBattlerTurnOrderNum(battlerDef))
|
if (GetBattlerTurnOrderNum(battlerAtk) > GetBattlerTurnOrderNum(battlerDef))
|
||||||
basePower *= 2;
|
basePower *= 2;
|
||||||
break;
|
break;
|
||||||
case EFFECT_GUST:
|
|
||||||
case EFFECT_TWISTER:
|
|
||||||
if (gStatuses3[battlerDef] & STATUS3_ON_AIR)
|
|
||||||
basePower *= 2;
|
|
||||||
break;
|
|
||||||
case EFFECT_ROUND:
|
case EFFECT_ROUND:
|
||||||
if (gChosenMoveByBattler[BATTLE_PARTNER(battlerAtk)] == MOVE_ROUND && !(gAbsentBattlerFlags & gBitTable[BATTLE_PARTNER(battlerAtk)]))
|
if (gChosenMoveByBattler[BATTLE_PARTNER(battlerAtk)] == MOVE_ROUND && !(gAbsentBattlerFlags & gBitTable[BATTLE_PARTNER(battlerAtk)]))
|
||||||
basePower *= 2;
|
basePower *= 2;
|
||||||
@ -6033,6 +6028,8 @@ static u32 CalcFinalDmg(u32 dmg, u16 move, u8 battlerAtk, u8 battlerDef, u8 move
|
|||||||
MulModifier(&finalModifier, UQ_4_12(2.0));
|
MulModifier(&finalModifier, UQ_4_12(2.0));
|
||||||
if (gBattleMoves[move].flags & FLAG_DMG_UNDERWATER && gStatuses3[battlerDef] & STATUS3_UNDERWATER)
|
if (gBattleMoves[move].flags & FLAG_DMG_UNDERWATER && gStatuses3[battlerDef] & STATUS3_UNDERWATER)
|
||||||
MulModifier(&finalModifier, UQ_4_12(2.0));
|
MulModifier(&finalModifier, UQ_4_12(2.0));
|
||||||
|
if (gBattleMoves[move].flags & FLAG_DMG_IN_AIR && gStatuses3[battlerDef] & STATUS3_ON_AIR)
|
||||||
|
MulModifier(&finalModifier, UQ_4_12(2.0));
|
||||||
|
|
||||||
dmg = ApplyModifier(finalModifier, dmg);
|
dmg = ApplyModifier(finalModifier, dmg);
|
||||||
if (dmg == 0)
|
if (dmg == 0)
|
||||||
|
@ -234,7 +234,7 @@ const struct BattleMove gBattleMoves[MOVES_COUNT] =
|
|||||||
.secondaryEffectChance = 0,
|
.secondaryEffectChance = 0,
|
||||||
.target = MOVE_TARGET_SELECTED,
|
.target = MOVE_TARGET_SELECTED,
|
||||||
.priority = 0,
|
.priority = 0,
|
||||||
.flags = FLAG_PROTECT_AFFECTED | FLAG_MIRROR_MOVE_AFFECTED | FLAG_KINGSROCK_AFFECTED,
|
.flags = FLAG_PROTECT_AFFECTED | FLAG_MIRROR_MOVE_AFFECTED | FLAG_KINGSROCK_AFFECTED | FLAG_DMG_IN_AIR,
|
||||||
.split = SPLIT_SPECIAL,
|
.split = SPLIT_SPECIAL,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -1228,7 +1228,7 @@ const struct BattleMove gBattleMoves[MOVES_COUNT] =
|
|||||||
.secondaryEffectChance = 30,
|
.secondaryEffectChance = 30,
|
||||||
.target = MOVE_TARGET_SELECTED,
|
.target = MOVE_TARGET_SELECTED,
|
||||||
.priority = 0,
|
.priority = 0,
|
||||||
.flags = FLAG_PROTECT_AFFECTED | FLAG_MIRROR_MOVE_AFFECTED | FLAG_SHEER_FORCE_BOOST,
|
.flags = FLAG_PROTECT_AFFECTED | FLAG_MIRROR_MOVE_AFFECTED | FLAG_SHEER_FORCE_BOOST | FLAG_HIT_IN_AIR,
|
||||||
.split = SPLIT_SPECIAL,
|
.split = SPLIT_SPECIAL,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -1270,7 +1270,7 @@ const struct BattleMove gBattleMoves[MOVES_COUNT] =
|
|||||||
.secondaryEffectChance = 0,
|
.secondaryEffectChance = 0,
|
||||||
.target = MOVE_TARGET_SELECTED,
|
.target = MOVE_TARGET_SELECTED,
|
||||||
.priority = 0,
|
.priority = 0,
|
||||||
.flags = FLAG_PROTECT_AFFECTED | FLAG_MIRROR_MOVE_AFFECTED,
|
.flags = FLAG_PROTECT_AFFECTED | FLAG_MIRROR_MOVE_AFFECTED | FLAG_DMG_UNDERGROUND,
|
||||||
.split = SPLIT_PHYSICAL,
|
.split = SPLIT_PHYSICAL,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -3357,7 +3357,7 @@ const struct BattleMove gBattleMoves[MOVES_COUNT] =
|
|||||||
.secondaryEffectChance = 20,
|
.secondaryEffectChance = 20,
|
||||||
.target = MOVE_TARGET_BOTH,
|
.target = MOVE_TARGET_BOTH,
|
||||||
.priority = 0,
|
.priority = 0,
|
||||||
.flags = FLAG_PROTECT_AFFECTED | FLAG_MIRROR_MOVE_AFFECTED | FLAG_KINGSROCK_AFFECTED | FLAG_SHEER_FORCE_BOOST,
|
.flags = FLAG_PROTECT_AFFECTED | FLAG_MIRROR_MOVE_AFFECTED | FLAG_KINGSROCK_AFFECTED | FLAG_SHEER_FORCE_BOOST | FLAG_DMG_IN_AIR,
|
||||||
.split = SPLIT_SPECIAL,
|
.split = SPLIT_SPECIAL,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -4590,7 +4590,7 @@ const struct BattleMove gBattleMoves[MOVES_COUNT] =
|
|||||||
.secondaryEffectChance = 0,
|
.secondaryEffectChance = 0,
|
||||||
.target = MOVE_TARGET_SELECTED,
|
.target = MOVE_TARGET_SELECTED,
|
||||||
.priority = 0,
|
.priority = 0,
|
||||||
.flags = FLAG_MAKES_CONTACT | FLAG_PROTECT_AFFECTED | FLAG_MIRROR_MOVE_AFFECTED | FLAG_KINGSROCK_AFFECTED | FLAG_IRON_FIST_BOOST,
|
.flags = FLAG_MAKES_CONTACT | FLAG_PROTECT_AFFECTED | FLAG_MIRROR_MOVE_AFFECTED | FLAG_KINGSROCK_AFFECTED | FLAG_IRON_FIST_BOOST | FLAG_HIT_IN_AIR,
|
||||||
.split = SPLIT_PHYSICAL,
|
.split = SPLIT_PHYSICAL,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -6726,7 +6726,7 @@ const struct BattleMove gBattleMoves[MOVES_COUNT] =
|
|||||||
.secondaryEffectChance = 100,
|
.secondaryEffectChance = 100,
|
||||||
.target = MOVE_TARGET_SELECTED,
|
.target = MOVE_TARGET_SELECTED,
|
||||||
.priority = 0,
|
.priority = 0,
|
||||||
.flags = FLAG_PROTECT_AFFECTED | FLAG_MIRROR_MOVE_AFFECTED | FLAG_KINGSROCK_AFFECTED,
|
.flags = FLAG_PROTECT_AFFECTED | FLAG_MIRROR_MOVE_AFFECTED | FLAG_KINGSROCK_AFFECTED | FLAG_HIT_IN_AIR,
|
||||||
.split = SPLIT_PHYSICAL,
|
.split = SPLIT_PHYSICAL,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -7609,7 +7609,7 @@ const struct BattleMove gBattleMoves[MOVES_COUNT] =
|
|||||||
.secondaryEffectChance = 30,
|
.secondaryEffectChance = 30,
|
||||||
.target = MOVE_TARGET_SELECTED,
|
.target = MOVE_TARGET_SELECTED,
|
||||||
.priority = 0,
|
.priority = 0,
|
||||||
.flags = FLAG_PROTECT_AFFECTED | FLAG_MIRROR_MOVE_AFFECTED | FLAG_KINGSROCK_AFFECTED | FLAG_SHEER_FORCE_BOOST,
|
.flags = FLAG_PROTECT_AFFECTED | FLAG_MIRROR_MOVE_AFFECTED | FLAG_KINGSROCK_AFFECTED | FLAG_SHEER_FORCE_BOOST | FLAG_HIT_IN_AIR,
|
||||||
.split = SPLIT_SPECIAL,
|
.split = SPLIT_SPECIAL,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -8627,7 +8627,7 @@ const struct BattleMove gBattleMoves[MOVES_COUNT] =
|
|||||||
.secondaryEffectChance = 0,
|
.secondaryEffectChance = 0,
|
||||||
.target = MOVE_TARGET_BOTH,
|
.target = MOVE_TARGET_BOTH,
|
||||||
.priority = 0,
|
.priority = 0,
|
||||||
.flags = FLAG_PROTECT_AFFECTED | FLAG_MIRROR_MOVE_AFFECTED | FLAG_KINGSROCK_AFFECTED,
|
.flags = FLAG_PROTECT_AFFECTED | FLAG_MIRROR_MOVE_AFFECTED | FLAG_KINGSROCK_AFFECTED | FLAG_HIT_IN_AIR,
|
||||||
.split = SPLIT_PHYSICAL,
|
.split = SPLIT_PHYSICAL,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user