Fixed genie signature moves (#3884)
* Fixed genie signature moves Fixed genie signature moves * Condensed rain move checks into a single 'if' Condensed rain move checks into a single 'if'
This commit is contained in:
parent
281cd0e20d
commit
9191c22c63
2 changed files with 7 additions and 5 deletions
|
@ -1586,9 +1586,11 @@ static bool32 AccuracyCalcHelper(u16 move)
|
|||
|
||||
if (WEATHER_HAS_EFFECT)
|
||||
{
|
||||
if ((IsBattlerWeatherAffected(gBattlerTarget, B_WEATHER_RAIN) && (gBattleMoves[move].effect == EFFECT_THUNDER || gBattleMoves[move].effect == EFFECT_HURRICANE)))
|
||||
if (IsBattlerWeatherAffected(gBattlerTarget, B_WEATHER_RAIN) &&
|
||||
(gBattleMoves[move].effect == EFFECT_THUNDER || gBattleMoves[move].effect == EFFECT_HURRICANE ||
|
||||
move == MOVE_BLEAKWIND_STORM || move == MOVE_WILDBOLT_STORM || move == MOVE_SANDSEAR_STORM))
|
||||
{
|
||||
// thunder/hurricane ignore acc checks in rain unless target is holding utility umbrella
|
||||
// thunder/hurricane/genie moves ignore acc checks in rain unless target is holding utility umbrella
|
||||
JumpIfMoveFailed(7, move);
|
||||
return TRUE;
|
||||
}
|
||||
|
|
|
@ -13466,7 +13466,7 @@ const struct BattleMove gBattleMoves[MOVES_COUNT_DYNAMAX] =
|
|||
.type = TYPE_FLYING,
|
||||
.accuracy = 80,
|
||||
.secondaryEffectChance = 30,
|
||||
.target = MOVE_TARGET_SELECTED,
|
||||
.target = MOVE_TARGET_BOTH,
|
||||
.priority = 0,
|
||||
.split = SPLIT_SPECIAL,
|
||||
.zMoveEffect = Z_EFFECT_NONE,
|
||||
|
@ -13487,7 +13487,7 @@ const struct BattleMove gBattleMoves[MOVES_COUNT_DYNAMAX] =
|
|||
.type = TYPE_ELECTRIC,
|
||||
.accuracy = 80,
|
||||
.secondaryEffectChance = 20,
|
||||
.target = MOVE_TARGET_SELECTED,
|
||||
.target = MOVE_TARGET_BOTH,
|
||||
.priority = 0,
|
||||
.split = SPLIT_SPECIAL,
|
||||
.zMoveEffect = Z_EFFECT_NONE,
|
||||
|
@ -13508,7 +13508,7 @@ const struct BattleMove gBattleMoves[MOVES_COUNT_DYNAMAX] =
|
|||
.type = TYPE_GROUND,
|
||||
.accuracy = 80,
|
||||
.secondaryEffectChance = 20,
|
||||
.target = MOVE_TARGET_SELECTED,
|
||||
.target = MOVE_TARGET_BOTH,
|
||||
.priority = 0,
|
||||
.split = SPLIT_SPECIAL,
|
||||
.zMoveEffect = Z_EFFECT_NONE,
|
||||
|
|
Loading…
Reference in a new issue