0a8284ce9f
* Added missing Move Effect TODO tests - Volume B * Apply suggestions from code review Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com> * Removed unused bulldoze effect file * Removed individual tests for Baton Pass + Status1 in favor of the existing single test --------- Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
27 lines
1 KiB
C
27 lines
1 KiB
C
#include "global.h"
|
|
#include "test/battle.h"
|
|
|
|
ASSUMPTIONS
|
|
{
|
|
ASSUME(gMovesInfo[MOVE_LEECH_SEED].effect == EFFECT_LEECH_SEED);
|
|
}
|
|
|
|
SINGLE_BATTLE_TEST("Leech Seed doesn't affect Grass-type Pokémon")
|
|
{
|
|
PASSES_RANDOMLY(90, 100, RNG_ACCURACY);
|
|
GIVEN {
|
|
ASSUME(gSpeciesInfo[SPECIES_ODDISH].types[0] == TYPE_GRASS);
|
|
PLAYER(SPECIES_WYNAUT);
|
|
OPPONENT(SPECIES_ODDISH);
|
|
} WHEN {
|
|
TURN { MOVE(player, MOVE_LEECH_SEED); }
|
|
} SCENE {
|
|
NOT ANIMATION(ANIM_TYPE_MOVE, MOVE_LEECH_SEED, player);
|
|
MESSAGE("It doesn't affect Foe Oddish…");
|
|
}
|
|
}
|
|
TO_DO_BATTLE_TEST("Leech Seed doesn't affect already seeded targets")
|
|
TO_DO_BATTLE_TEST("Leech Seeded targets lose 1/8 of its max HP every turn and give it to the user")
|
|
TO_DO_BATTLE_TEST("Leech Seed's effect is paused until a new battler replaces the original user's position") // Faint, can't be replaced, then revived.
|
|
TO_DO_BATTLE_TEST("Leech Seed's effect pause still prevents it from being seeded again")
|
|
TO_DO_BATTLE_TEST("Baton Pass passes Leech Seed's effect");
|