15 lines
444 B
C
15 lines
444 B
C
#include "global.h"
|
|
#include "test/battle.h"
|
|
|
|
SINGLE_BATTLE_TEST("Shaymin-Sky reverts to Shaymin-Land when frozen or frostbitten")
|
|
{
|
|
ASSUME(MoveHasMoveEffect(MOVE_POWDER_SNOW, MOVE_EFFECT_FREEZE_OR_FROSTBITE));
|
|
GIVEN {
|
|
PLAYER(SPECIES_SHAYMIN_SKY);
|
|
OPPONENT(SPECIES_WOBBUFFET);
|
|
} WHEN {
|
|
TURN { MOVE(opponent, MOVE_POWDER_SNOW); }
|
|
} THEN {
|
|
EXPECT_EQ(player->species, SPECIES_SHAYMIN_LAND);
|
|
}
|
|
}
|