db24128ee3
Co-authored-by: Eduardo Quezada <eduardo602002@gmail.com>
19 lines
489 B
C
19 lines
489 B
C
#include "global.h"
|
|
#include "test/battle.h"
|
|
|
|
ASSUMPTIONS
|
|
{
|
|
ASSUME(MoveHasAdditionalEffect(MOVE_SMACK_DOWN, MOVE_EFFECT_SMACK_DOWN) == TRUE);
|
|
}
|
|
|
|
SINGLE_BATTLE_TEST("Smack Down does not ground mons behind substitutes")
|
|
{
|
|
GIVEN {
|
|
PLAYER(SPECIES_WOBBUFFET);
|
|
OPPONENT(SPECIES_SKARMORY);
|
|
} WHEN {
|
|
TURN { MOVE(opponent, MOVE_SUBSTITUTE); MOVE(player, MOVE_SMACK_DOWN); }
|
|
} SCENE {
|
|
NOT MESSAGE("The opposing Skarmory fell straight down!");
|
|
}
|
|
}
|