2023-08-12 20:00:15 +01:00
|
|
|
#include "global.h"
|
|
|
|
#include "test/battle.h"
|
|
|
|
|
|
|
|
SINGLE_BATTLE_TEST("Overcoat blocks powder and spore moves")
|
|
|
|
{
|
|
|
|
GIVEN {
|
2024-01-29 11:51:32 +00:00
|
|
|
ASSUME(gMovesInfo[MOVE_STUN_SPORE].powderMove);
|
2023-08-12 20:00:15 +01:00
|
|
|
PLAYER(SPECIES_WYNAUT);
|
|
|
|
OPPONENT(SPECIES_PINECO) { Ability(ABILITY_OVERCOAT); }
|
|
|
|
} WHEN {
|
|
|
|
TURN { MOVE(player, MOVE_STUN_SPORE); }
|
|
|
|
} SCENE {
|
|
|
|
ABILITY_POPUP(opponent, ABILITY_OVERCOAT);
|
|
|
|
NOT ANIMATION(ANIM_TYPE_MOVE, MOVE_STUN_SPORE, player);
|
2024-10-21 18:52:45 +01:00
|
|
|
MESSAGE("It doesn't affect the opposing Pineco…");
|
2023-08-12 20:00:15 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
TO_DO_BATTLE_TEST("Overcoat blocks damage from hail");
|
|
|
|
TO_DO_BATTLE_TEST("Overcoat blocks damage from sandstorm");
|
|
|
|
TO_DO_BATTLE_TEST("Overcoat blocks Effect Spore's effect");
|