Fixes Life Dew playing anim when it is not supposed to + tests (#7239)

This commit is contained in:
Alex
2025-07-01 17:49:31 +02:00
committed by GitHub
parent aae04ffc84
commit 10e55bd18d
8 changed files with 135 additions and 9 deletions

View File

@@ -2212,4 +2212,10 @@ const struct BattleMoveEffect gBattleMoveEffects[NUM_BATTLE_MOVE_EFFECTS] =
.battleScript = BattleScript_EffectHit,
.battleTvScore = 0, // TODO: Assign points
},
[EFFECT_LIFE_DEW] =
{
.battleScript = BattleScript_EffectLifeDew,
.battleTvScore = 0, // TODO: Assign points
},
};

View File

@@ -6056,7 +6056,7 @@ const struct MoveInfo gMovesInfo[MOVES_COUNT_ALL] =
"User spins and removes some\n"
#if B_SPEED_BUFFING_RAPID_SPIN >= GEN_8
"effects, while upping speed."),
#else
#else
"effects."),
#endif
.effect = EFFECT_RAPID_SPIN,
@@ -18277,12 +18277,12 @@ const struct MoveInfo gMovesInfo[MOVES_COUNT_ALL] =
.description = COMPOUND_STRING(
"Scatters water to restore\n"
"the HP of itself and allies."),
.effect = EFFECT_JUNGLE_HEALING,
.effect = EFFECT_LIFE_DEW,
.power = 0,
.type = TYPE_WATER,
.accuracy = 0,
.pp = 10,
.target = MOVE_TARGET_ALL_BATTLERS,
.target = MOVE_TARGET_USER,
.priority = 0,
.category = DAMAGE_CATEGORY_STATUS,
.snatchAffected = TRUE,